CMSSharedBundle: Layout/Block entity fixes.
CMSPageJS: Fix (finally, might be a bit hacky) for the rendering of views/unbinding of events issue.