update to work with new lockfile format

Berksfile will be installed before environment is attempted to be locked
add test coverage to apply function
simpify step for creating a env on the chef server