PHP 5.3.3+ refactoring

php <= 5.3.28 is no longer supported and composer as dependency management tool become very popular and useful so the code was refactored for this goals.
Also in few days i will update documentation for using with composer.json & create a bundle for symfony2 framework.