Specs

Added some basic specs for running applications, using middleware, and request and response objects.

Obviously more tests are needed, but this is a good start!

Also added a travis config