Update composer.json

Add autoloading definition via classmap.
Fix validation errors.