Add composer support.

@seven1m  can you add this to packagist before merge?