Reinstated the renderAttributes method in the pages module. This is in case there is no location, in the case of the home page.
Added the ability for a page (version) to have a template - this can be used for simple variations on the same page type. Combined with the layout, this should give quite a bit of control over the page design.
Change of logic when rendering pages/versions to make previewing much easier. Now we have a breadcrumb array, which can be used in the templates to add breadcrumb trails and detect which items we are currently viewing. This is 'faked' when viewing a version so that templates still act in the same way.