[BUGFIX] Package name breaks when using composer require

Removes usages of \/ in composer.json as they are no longer needed
and adds autoloading information so the package name can correctly
be generated.