Re #6168. Exit with a code that's the Mantid revision number.

I need to get hold of this to pass into a performance db.