Performance improvements on Collection by using model identities as array keys.
Bug fix to mapper that prevented finding cached model instances.
Added a trait to simplify models mapped to a single database table.