Add composer support

I want to be able to install this library through composer so I added a `composer.json` definition.