Changed the autoloader configuration to PSR-4

This makes it easier when working on the library (no need to redump the autoloader each time you add a class), and composer will still add the classes in the classmap when using the ``--optimize-autoloader`` option