Create composer package

I would really like to be able to install this using composer & packagist.
If that's fine with you I'll build a pull request for that.