Updating property setters to avoid deprecated feature warning and to wor...

...k in environments with project hierarchies

Using Gradle 1.7 in a project hiearchy, discovered as soon as I included the subproject which leverages the properties plugin I would receive this error:

> cannot get property 'environmentName' on extra properties extension as it does not exist

The issue is mentioned here, and the fix is to avoid using 'ext' when reading properties.

http://stackoverflow.com/questions/14530901/gradle-extra-properties-not-visible-in-a-custom-task-defined-in-a-subproject

This patch avoids the deprecation warning and resolves my subproject issue.