Add Travis CI build.
Merge pull request #1 from nightscape/travis_ci

Add Travis CI build.
Merge pull request #2 from nightscape/update_scalatest

Update ScalaTest.
Fix deprecation warnings.