Convert to QHash

WorkspaceObjectMap now uses QHash since in Qt5 QUuid has a qHash
function. This with a few other minor updates increases the speeds of
getFoo. It also simplifies the data structure back to what it was
previously.