Implemented document title change functionality

- Updated app.js to include directive to pull title from first H1
element found on page
- Updated layout page to:
- have some links be ignored by ui-router framework with target="_self"
- move app definition to top of document to allow binding in TITLE
element
- apply extract-title-from-content directive