Cross compilation support.

- Migrate to scalatest.
- Introduce travis ci (at least for my fork, you'll have to enable it for the main one and update the Readme)
- Fix non-2.9.1/2.9.2 build break.