usercore: remove duplicate code in ItemHandle

createDesktopShortcut and createMenuEntry are doing the same, but are
installing the created file with other commands. Move the code into
a private method
usercore: make createDesktopfile a private ItemHandle method
Merge pull request #561 from karolherbst/usercore_desktop

usercore: remove code duplication in desktop file creation