Bug 946672 - Get the App Name based on the App ID first, use Services.appinfo.name as fallback. r=hskupin
(cherry picked from commit 88e8bd691bd70bec4bc752af9ebb61dfaac2f50a)