Adds composer.json to the library

This PR adds a composer.json file to the library, so that the library may be used with Composer.