Fixed composer autoload

It was psr-0, but actually it should be psr-4, otherwise classes are not found.
Merge pull request #1 from marcj/patch-1

Fixed composer autoload