Convert to PSR4 file structure.

- Move files around
- Update composer.json
- Update phpunit.xml.dist
- Use autoload-dev instead of creating class loader for tests in bootstrap.php.