Improve error message for cases of invalid or missing namespaces.

Resolves: https://www.pivotaltracker.com/story/show/82412616
Remove pointless double-lock and improve module branch coverage
Add tests in kernel-impl
Add test for build message exception
Remove unused method.
Add result transform tests
Remove stale helper method and dysfunctional test
Improved formatting for text/html view of fcr:nodetypes.
Updated views to remove inline common javascript and css.
Updated the 'import' button for consistent styling.
Added visual indicator for expandable/collapsible headings.
Added panel-title class to headers within panel-heading divs.
Moved transaction control to main navigation bar.
Made language more consistent and clear in html view.
Added support for wildcard accept headers to accomodate deficiencies in HtmlUnit web client.