Replace version number in java
Append -DEV to the name for non-release versions.
Merge pull request #36 from Hanse00/feature-gradle-improvements

Automatic version numbering in java, dev releases.