ENH: Improved performance of qMRMLSceneModel

indexFromNode is called millions of times when there are a few hundred nodes and it browses through the whole model to find the requested node. Add a cache that stores the last search result and use it as a search hint.