ApplicationLauncherIcon: Create a local desktop file when sticking an app that has not
Also make icon sticky only if both the icon itself and the inner app is sticky as well. Fixes: https://bugs.launchpad.net/bugs/704046, https://bugs.launchpad.net/bugs/753305, https://bugs.launchpad.net/bugs/754334, https://bugs.launchpad.net/bugs/765466, https://bugs.launchpad.net/bugs/1209320.
Approved by Christopher Townsend, PS Jenkins bot.