Naive implementation of the RegistryKeyContext.
Checks equality between the left and the right keys.
Defines hash code of the key.