Update single image page.

* Move the controls directly under the image, rather than under the code.
* Reformat the ejs code, which was badly formatted.
* Probably needs better styling.
More updates to formatting of single image page.
Merge branch 'master' of github.com:GlimmerLabs/MathOverImages

Conflicts:
	Site/views/single_image_page.ejs
        Dealt with the unformatting of the file, cleaned up other code.
Merge branch 'master' of github.com:GlimmerLabs/MathOverImages
Update head.ejs to include Javascript.
Extend imagepage.js

* Add functions for rendering dates.
* Reorganize and comment code.
* Clean up a bit.
Move code from single_image_page

* Large sections of Javascript code belong in a .js file, not in the
  middle of HTML.  So now they are in imagepage.js.
Add show/hide code button to single image page.
Update formatting of comments in single image.