Fix memento/rebind of AbstractController

- serverPoolTargets has entities as keys, so needed to fix
  MementoTransformer.transformIdsToEntities so it converted
  keys and values correctly.
- Can revisit this in the future for instead using serialised
  form of an entity-ref, rather than just String perhaps.
Merge pull request #659 from aledsage/cherrypick/AbstractController-memento-fix

Fix memento/rebind of AbstractController (0.5)