Removed the 'simple' theme - this is not the place to put an example.
Bit of rearranging, didn't like the idea of having a render method, so have changed the pages module so it handles the rendering, but asks the theme if it wants to change a any of the settings/template etc in a preRender method.
Bugfix, changed to use the method rather than the attribute.
Added an allowSubPages method to the page type interface, behaviour not implemented yet.
Turned page attributes into a more generic set of attributes, that way they can be used for 'things' other than just pages. Templates and widgets/partials/somethings/unnamed stuff can now use them.
Commented out the tests for the moment. These don't really test in the way they should. Need to work out the best way to put some test data in a temporary (sqlite in memory) database to test methods.
Bugfix, changed to generic types.
Fixed the width of the order input box.
Added a check for the module and an exception to throw if not found.
Added logic to be able to create a home page. This uses all the same logic as the other pages, except it doens't have a URL and can be created based on different page types. There can only be one page marked as is_home in the system.