Create Composer package

This adds Composer support and allows this library to be submitted to [Packagist](https://packagist.org).

Fixes #14