Add composer support

A minimalist [composer](http://getcomposer.org) config for publishing on [packagist.org](http://packagist.org) or via a private mirror.

Fixes #5