Some bug fixes and refactoring.

Added site.baseurl where it was missing.
Removed ajax loading of subpages.
Added a nicer image of a hammer.
Now it also sets the correct hammer when editing existing games.
Moved javascript for host sites to a seperate js file.