Bug 1081040 - Clean up internal mozL10n API.

https://bugzilla.mozilla.org/show_bug.cgi?id=1081040