Implemented PSR-0, PSR-1 and PSR-2. Added unit tests. Adjusted README. Added license file. Fixed a bunch of bugs.