use psr-4 autoloader

target-dir is deprecated (although unlikely to be removed anytime soon)
Merge pull request #10 from jrobeson/patch-1

use psr-4 autoloader