Bug 961642 - [httpd] import registerPrefix from upstream r=yurenju

import changeset from http://hg.mozilla.org/mozilla-central/rev/e840ffbba8d1
Bug 936645 - [Messages][Drafts] Add banner message for saved draft