Update test template to include govuk_template js

Necessary because this supplies the cookie functions that application.js
uses.

Also moved scripts to the end for consistency with static.