Inject config into javascript without gon gem.

https://jira.media.berkeley.edu/jira/browse/CLC-2218

Squashed commit of the following:

commit a1b3ef422af6e97caa014b8d4110505be8a171a0
Author: Chris Tweney <chris@media.berkeley.edu>
Date:   Fri Aug 2 16:41:21 2013 -0700

    CLC-2218 Correct comment

commit 8a986a7affcb25b736022866123527010461c809
Author: Chris Tweney <chris@media.berkeley.edu>
Date:   Fri Aug 2 16:30:09 2013 -0700

    CLC-2218 Remove type=javascript from script tag

commit 31d47b809face98f26be5e91c0d2a172e496db65
Author: Chris Tweney <chris@media.berkeley.edu>
Date:   Fri Aug 2 16:27:43 2013 -0700

    CLC-2218 Fix Jasmine tests

commit 718b621f9365041ef913c7e47144991d3e9edf42
Author: Chris Tweney <chris@media.berkeley.edu>
Date:   Fri Aug 2 16:19:45 2013 -0700

    CLC-2218 Followup ugly DIY way of injecting JSON into Javascript config

commit 0d9d2b70bc0ed4c54d1298ea822edd1dc1ea693f
Author: Christian Vuerings <vueringschristian@gmail.com>
Date:   Thu Aug 1 10:09:01 2013 -0700

    CLC-2218 - Gon gem - Fix tests & use before_filter

commit b8ed76964a5519c7ba1dd4a902e4d194f7b8dd75
Author: Christian Vuerings <vueringschristian@gmail.com>
Date:   Wed Jul 31 18:20:41 2013 -0700

    CLC-2218 - Sentry & Google analytics are broken
    https://jira.media.berkeley.edu/jira/browse/CLC-2218

    Also:

    * Changed all the .js.erb files to .js
    * Feed in the application version + hostname
    * Add current term to the classes feed