Add minimal test suite

See #291. You can review the latest Travis build at https://travis-ci.org/federicobond/homebrew-versions/builds/31296790

The code is a cleaned up version of what is running in the main repo. IRC notifications for builds have been disabled temporarily. Any feedback is welcome!