OPENDJ-1734 (CR-5811) V/-version option does not work for some tools
Copied the fix for OPENDJ-1656 in r11469.
All tools are working except for dsconfig (which is now in the SDK) where I did not know what to display. For the moment I did this:
$ ./build/package/OpenDJ-3.0.0_auto/bin/dsconfig --version
3.0.0-SNAPSHOT
$
ArgumentParser.java, SubCommandArgumentParser.java:
Made SubCommandArgumentParser use more ArgumentParser fields.
Big code cleanup.
DSConfig.java:
Did a hack to display something. Please review.
DirectoryServer.java:
Changed anonymous class into DirectoryServerVersionHandler inner class.
*.java:
Set the version handler after creating the argument parser.
ReplicationCliArgumentParser.java:
Code cleanup.
Base64.java:
Removed code redundant with the VersionHandler.