added composer.json

added composer.json for the use with the well known package manager for php https://getcomposer.org/
and the possibility of listing on https://packagist.org/