Add support for running tests in Travis-CI.

This commit configures our continuous build to also run the tests for us
on an emulator.
Merge pull request #68 from flerda/v2.1-travis-tests

Add support for running tests in Travis-CI.