Added travis infrastructure and first tests

Hi! 
I would like to help refine this module and get it to the point where I feel comfortable using it in production.

If you accept this pull request, I would be happy to write more!