Add stick at top when scrolling JavaScript

This lets you have elements that scroll with the page as you scroll.
This has been ported from the whitehall codebase but the tests updated
to use Jasmine rather than jUnit.

This is needed in the [specialist-frontend][1] project. It would be better here
than copying it into both projects.

[1]: https://github.com/alphagov/specialist-frontend