Bug 993520: Fix plain-text-console tests. r=bustage
Merge pull request #1310 from Gozala/bug/modelFor@695143

Bug 695143 - Implement `modelFor(view)` for getting SDK models for underlaynig platform tab/window. r=@ZER0
Fix regression caused by ba6e7ea
Add missing sdk/model/core file.
Fix failing tests introduced by ba6e7ea