adding a json file to be ready to use packagist

Hello,
I think it could be intresting to use packagist to expose a litle bit more this library, so I add the basic of a composer file.

Afte merging, you add your package trought the website of packagist https://packagist.org