Added vendor/ and composer.lock to gitignore; Added composer.json to
make th installation easier;
Reformat the code using PSR1/PSR2 guidelines; added comments to some methods; Removed unnecessary returns;
Added .gitignore and composer.json
Merged pull request form Daniel Gomes
Merged in changed from Daniel Gomes