adding command line option for version; adding ant and shell hackery to support git-rev string