Split alias listing in detail view into read and write variants, as we can only make our templates aware of whether someone is logged in outside of a partial.  Yay, handlebars.
Rearranged and tidied up whitespace while reviewing pouch configuration options.
Fixed read tests for /api/record (which have apparently been broken since the refactor at HCII).
Updated templates to try and fix problems with the display of /api/ and its children.
Fixed path for error pages to match new subdirectory that contains all pages.
Added "stringify" helper to convert objects to JSON strings (useful for troubleshooting as well as converting to hidden form values).
Made "profile" control a child component of the details view.
Added required template loading on startup (to avoid template loading sequencing problems in other modules).
Added required template loading on startup (to avoid template loading sequencing problems in other modules).  Also fixed references to various objects to point at injected child component instead of previous "sloppy" model.
Updated template to only displays editable form controls when the user is logged in.
Checked in various unsuccessful but basically harmless strategies for monitoring for user status change across components.  Will be removed, just putting them in once for future reference.