Add a travis config for automatic testing.
Add infrastructure for testing.