Add poltergeist

* Add poltergeist for running tests that need JS
* Move test helpers into their own file
Merge pull request #26 from kete/ek-poltergeist

Add poltergeist