Composer support

I've added initial composer setup, please review it and submit lib to `packagist` so we can manage dependencies easier.