Lay out sources as composer package with PSR-4 autoloader

Hello. Please, consider this pull request. Maybe you will want to publish package on packagist.org.