Merge pull request #16 from thizzle/master

Support for generic Exception throwing in resource class methods
Merge pull request #17 from thizzle/master

Various bug fixes for URI classes
Updated the order in which headers are set in the response object
Merge pull request #20 from thizzle/master

Support for preDispatch and postDispatch methods on resource methods, composer, code cleanup
Updated package name in composer.json
Fixed documentation, PhRest -> Sonno
Fixed unit tests that were testing the header() function.
Added a travis ci config file
Moved the phpunit config file to the main directory
Added the Travis CI build status image.