MuonDetManager now needs to be available in the condition store.
Also some cleanups. Supply a path for the JO file given to initGaudi so that we don't need to rely on setting an environment variable, and remove workarounds for a long-since fixed gcc bug.