Edit the Application layout

* wrap different parts of layout in divs
* add links to root_path
* arrange for contents of flash to be displayed