Added `scripts` array to be injected into the footer.

The array can be included from any template, allowing a single page to
embed code or link scripts as a requirement of *that* specific template.
Rather than the footer including all scripts on all pages.
jQuery now changes the link text/attr if the user is not registered
Changed button wording
Merge branch 'code-cookiecheck'