Moved some javascript outside of gems.

Login JS and keymaster is needed by the blog and shouldn't be in the
theme.
Small variable renaming
Merge branch 'master' into marmite

Conflicts:
	config/application.rb
Removed debugging flags
Merge branch 'master' into marmite

Conflicts:
	config/application.rb