cleanup of gnomedesktop support.  fixed pylint issues.  moved to using the salt cmd module instead of attempting to use python functions.  removed all eval calls in favor of using locals().
moving pwd import into the try...except to avoid importerrors on windows.
Merge pull request #8506 from garethgreenaway/develop

cleanup of gnomedesktop support.  fixed pylint issues.  moved to using t...