Bug 1029944 - Switch ModalDialog and AppModalDialog from using strings t...

...o using l10nIds

* Replace mozL10n.get(l10nId) calls with node.setAttribute('data-l10n-id', l10nId) in ModalDialog and its use cases.
* Fix jshint errors.