Add .travis.yml to configure Travis CI build

Tests against Ruby HEAD, 2.1 and 1.9.3 and JRuby HEAD and 1.9.