Fixed malformed query template in the import page model.  Added fetch_page_content to dbtools.  Edited the namedpage model to include a content fetch.

Also fixed a bunch of small issues with the import page template and model.
=Fixed an issue which caused improper import and display of imagename paths.
Added a right column bracket, imports for content, and related edits to the main layout template.
Added an import for flask.abort to the view functions.
Added custom title names to the header; removed excess <div> encapsulation from the nav.