Add integration tests

I'm using capybara and poltergeist for integration tests.  You'll need to install phantomjs for this to work.