Fixing Javascript problems

Fixing problems caused by moving the javascript to .js files, where
grails commands do not work
making GSP follow Google and HAML styleguides
enforcing styleguide
formatting imods
more formatting
Merge remote-tracking branch 'origin/prettify'

Conflicts:
	grails-app/views/imod/create.gsp
	grails-app/views/learningObjective/creator/_header.gsp