add composer.json

Hello @LeoUnglaub

I would like to use this library as a dependency in other contao modules using composer for package management.

Regards @dominikzogg