[PATCH 12/13] Controller.Machine: add cache for devices moved to a namespace