Bug 863318 - Add l10-fixes to the desktop-helper. r=kgrandon

This is a rebase of PR #9293.

I rebased my changes for a simple mock function in:  apps/system/test/unit/mock_l10n.js to pass unit tests.