(GH-161) Normalize deployed environment name

When deploying a single environment, that environment name should be sanitised
to ensure that directory names and branch names eventually can be matched
Merge branch 'pull-161' into 1.3.x
Merge branch '1.3.x'
Prepare CHANGELOG for 1.2.2.
Merge branch '1.2.x' into 1.3.x

Conflicts:
	CHANGELOG.mkd
Merge branch '1.3.x'