refactor rebind tests to share common code and remove warnings (and in one case fix test logic mistake obscured by too many warnings)
start of work to persist entity type info; disabled for the moment, but when reenabled (in BasicEntityMemento) the RebindEntityDynamicTypeInfoTest works