Improve pages servlet raw navigation (issue-411)
Fix subdirectory navigation in pages servlet (issue-412)
Ensure repository is closed after processing a pages request