Bug 1023296 — Accept "app" scheme if domain matches.

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