Allow dist install tests

These changes allow a dist install.
They could, and infact were earlier but I fale at simple decisions. Do we have a preference? The core [doesn't use autoload-dev](https://github.com/cakephp/cakephp/blob/3.0/tests/bootstrap.php#L55-L62) which is what swung me in this direction.