Unit tests for PSR-4 class loader.

I added some basic unit tests.
Inspired by https://github.com/symfony/ClassLoader/blob/master/Tests/ClassLoaderTest.php

The symfony test has a number of exotic cases which are poorly documented and are going to be dead weight if we don't know what they do. So I focused on the obvious stuff, and skipped the rest.