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

https://bugzilla.mozilla.org/show_bug.cgi?id=1023296
see https://github.com/mozilla-services/loop-server/pull/105 for a different approach.