Added support for rendering custom pages with constructs of the common pages and added gadgets extension to demonstrate extension usage