Uses all locals all the way.

IE8 doesn't allow setting a property named `length` in the global object.
Imports the things we use from prelude-ls.

`sort-by` and `map` were being introduced by the global require
in the test cases, and as such this wasn't noticed. WHOA!