Various dependency fixes

I was unable to get the test suite running or even use this Gem because of lots of issues.

I also added Travis CI support (see https://travis-ci.org/econsultancy/activeform-rails for my branch building) which I highly recommend you add to ensure this Gem remains stable with any pull requests.