Fixed a bug where associations with entity Actions or Finders may not have all their models correctly added into
snapshots.  Some small related refactoring.  Added tests to verify fix.

RB=224729
R=gogenc,kjin,kparikh,dhoa,si-dev
A=dhoa