Update code to PHP 5.3, rename classes according PSR-0, add composer.json