Disallow changing of map layer registry directly
QgsMapLayerRegistry::mapLayers() returned reference is now const