Bug 913324 - Select biggest icon that fits on the screen

When launching an app, we display one of the icon defined in its
manifest. If the application defines several ones, then we need to
select the biggest one that fits into the screen.
Merge pull request #12847 from lissyx/bug913324

Bug 913324 - Select biggest icon that fits on the screen r=vingetun