Added a simple Whitehall namespace and initialiser.  Added a helper for initialising scripts and translating params from ruby to javascript.
Re-wrote javascript section of styleguide. Added a tentative point on CSS.
Styleguide better describes js helpers.

Description of javascript helpers implied that they all would be loaded on every page.  Instead, the definition should include scripts which are reused across multiple views.
Updated styleguide js section & initialisers.

• Singletons are OK too.
• Added note about using strict.
• Use GOVUK namespace for everything.

Also updated GOVUK.init to properly handle singleton initialisation.
JavascriptHelper.initialise_script raws output

params passed to initialise script were being escaped. This
fixes that.
Upgrade slimmer to version 3.22.0
Fixed javascript_helper_test.rb...

and added a test to ensure helper returns an html_safe string.
Fixing typo in STYLEGUIDE
Removing javascripts/views folder from STYLEGUIDE
Responding to PR comments

• added more text about why anonymous functions are bad
• rewrote govuk.js to be more communicative about it's intentions
• renamed a variable in JavascriptHelper.initialise_script
Use JS-Lint—friendly closure endings in styleguide.

Includes a fix for a broken ending.
Rephrase CSS styleguide regarding helpers and views.
Grammar fix in styleguide.
Merge pull request #974 from alphagov/js-style-guide

JS style guide and supporting helper.

https://www.pivotaltracker.com/story/show/59498446