Add license, homepage and type to composer.json.