Use Pattern.DOTALL to ensure that newlines are handled in options.

Adding unittests to jglick's https://github.com/gradle/gradle/pull/186 that allows multiline property values to be passed to Gradle

    gradle -Dprop=a:1\nb:2\nc:3 task