use psr-4 autoloader

target-dir is deprecated (although unlikely to be removed anytime soon)