Updated composer.json

* Updated composer.json to allow classmap autoloading. 
* Added requeriment to cURL extension.

Please submit the repo to [Packagist](https://packagist.org/packages/submit) to allow install by [Composer](http://getcomposer.org/).