Add support for version numbers passed in either as environment variable...

...s or java properties and changed Java System.getProperty calls to scala's sys.props.get
The current behavior of the System.getProperty is to return null when it doesn't exist.  The file call will then throw an exception.  This is to retain the current behavior but convert to a scala-style rather than have the Java in there.