Fix builder access to union objects.

support initializing null references.
fix default value for interface pointers to null pointers in schema.
test restore cap request