Fix #3015 - History#stop cleans up iframe.
Merge pull request #3041 from braddunbar/iframe-cleanup

Fix #3015 - History#stop cleans up iframe.
Return `id` assumption for simple polymorphic `Collection#model` factories.

Also, add tests to make sure it doesn't break in the future.
Make new tests more thorough