Add composer.json.

After this is added, it would be great if this project could be made available on packagist.org.