Add Travis CI testing.

Also add time function for runnable tests and update the README.md file.