Fix tests and enable Travis CI

Fix broken tests caused by variations in STDOUT.

Enable Travis CI to catch such issues in future. You can see the results for my fork:

- https://travis-ci.org/dcarley/check-graphite/builds/5817728

To enable it for your repo you'll just need to login and flip the switch for the service hook:

- http://about.travis-ci.org/docs/user/getting-started/#Step-one%3A-Sign-in