Expose as composer package

This PR should fix issue #6.
Now it's possible to publish this package to [packagist](https://packagist.org/).

I've added this [MIT license](http://opensource.org/licenses/MIT). Please tell me If it's not ok, so I can change it.
Since the current version is 1.6, I suggest you create a tag in your repository.