Add version details to Crash report

By refactoring out the version stuff from the about dialog
and making it part of the crash report (and reused).