composer.json added

this PR would make it possible to install this package using composer. You could also submit it to https://packagist.org/