Add composer support (Fixes issue #2)

You'll need to register this with https://packagist.org/ after merging. This should close #2 .