Allow target to be specified from the Gruntfile options.  If not provided, default to noarch
If release is specified as a boolean true then set release to 1 (old functionality), it is is set to anything else then use the release value (allows release number to be passd in from Grunt), otherwise set the release to the old default of SNAPSHOT with date
Merge pull request #3 from randylayman/master

Allow Release and Target to be set in Gruntfile
Merge pull request #4 from coderhaoxin/master

fix typo
fix typo and read property type of undefined