To_a is no longer supported in Ruby 1.9.x. Fixes #4 and refs #3.
Add travis ci support. Fixes #5.