Add tests along with a travis-ci config

You will need to enable travis-ci and put the status image in your self.

It's worth knowing that right now not all tests pass and I will be making issues for those

![ljpvetm](https://f.cloud.github.com/assets/1504626/1750929/9b6da434-65bf-11e3-8ac2-694c01aa3cdf.png)

I will add more tests as I go along but this seems like a good place to start off with.