Big 1.1.0 cleanup

* PSR-0 & PSR-1
* Add test suite
* Multiple smaller fixes/cleanup