Added --version command line option.
Added --version command line option.

The --version code is preferably executed before the QApplication object is started so this means we can no longer pass Qt command line options to the QApplication.

titusjan/astviewer