Bug 994519 - Introduce l10n.setAttributes and l10n.getAttributes. r=stas

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