Add support for PSR-4

Untested until rolled out by Composer.
Move example module to PSR-4
Merge pull request #1436 from drak/psr4

Add support for PSR-4