Dir envs

This PR adds directory based environment support to puppet::masterenv automatically if $::puppet::master::environments is set to 'directory'