API change: Use zval * instead of zval **
Move the incomplete class stuff into its own file, so that we can make it easier accessible to WDDX.
1234