various fixes and improvements

* PHPUnit bug
* incomplete mimetype-mapping
* Travis CI/PHPUnit integration