Fix triggering changed flag for all references when cell is visited

The InsertFunctor for cells was calling localRotateObject() for all references which set the mChanged flag in RefData to true.

Also clean up RefData interface slightly.
Fix incorrect trigger of change flag for static doors
Consider moved references in CellStore::listRefs