Added handling for #subobject in Page Schemas, plus some small fixes

Change-Id: I79cf7f6be8df81ceac5aead8a8691918f8805b3d