Move dir perm function to a separate file
Work harder to ensure metacpan or vagrant can use api

Ideally the 'metacpan' user would be used,
but because of the previously discovered issue in CPAN::Faker
it's much easier to be able to run the test suite as 'vagrant'
but the service will still run as 'metacpan'
so try to make it usable by both.
Prepare repos for carton installation

so we can more easily play with that