Update composer.json

add curl extension as requirement
remove version field, it is recommended to omit this: http://getcomposer.org/doc/04-schema.md#version
remove type field, it is recommended to omit this: http://getcomposer.org/doc/04-schema.md#type