add initial integration test to search for a movie
use poltergeist instead of selenium
we dont have to sleep
fix url for new api
complete javascript test
use DatabaseCleaner for the javascript tests
fix test
more test fixes