Bug 1009793 - replace cardsByOrigin with cardsByAppID for card/app lookup