Change environment to pp_environment

I don't think environment was actually being used anywhere except
for the two places I've changed in this commit.

Change the word 'development' to 'dev' to match pp-deployment.

Remove unused fact for machine_environment.

Lint and style.