Rework ant version properties

Building on @rleigh-dundee's recent changes, this
refactors the work from build.py into a python
script like source-archive. That with the aid of
```
   <var name="x" unset="true"/>
```
elements, it's possible to remove the requirement
to use build.py.