Make API entity directory more specific

... to prevent Doctrine loading PHPUnit test cases looking for metadata.