use psr-4 autoloader

target-dir is now deprecated so it'd be a good idea to switch
Merge pull request #7 from jrobeson/psr4-autoloader

use psr-4 autoloader