Added support for composer and removed constants

* Made PSR-0 compliant
* Added support for Composer
* Removed constants
Version 0.5
Merge pull request #19 from gavroche/master

Made PSR-0 compliant, added support for Composer and removed constants