Simplified code
Added retrieval of http response code
Removed dependency on web server
Removed composer dependency
minor
Fixed code coverage reporting
Formatted comments
Changed Middleware test case static members to have response accessible on error
Composer changes
Merge branch 'unittest' into travis

Conflicts:
	test/phpunit.xml
	test/tests/Middleware.php