Handle missing "ubuntu" user on vagrant boxes

Detect when running under vagrant and set the default user to
'vagrant'. This can of course be overridden in a project role/
recipe.
Fix incorrect config directory permissions