add better support for deleted apps/versions to commbadge (bug 1102973)
tests for fetching threads of deleted apps/versions (bug 1091247)
Merge pull request #2746 from ngokevin/commmanager2

add better support for deleted apps/versions to commbadge (bug 1102973)
fix email on comm note for deleted apps