Added Composer.json support

This was a pull request from earlier, but I isolated composer.json (other updates are in my own repo/branch)

Merge it up!