Add validator and tests for the espated nature of the origin URI of the SWHID context qualidier
The SWHID spec explicitly states that the origin qualifier must be an escapted RFC 3987 URI, but the SWHID implementation does not validate this, and there are no test at all for this behavior.
Migrated from T3029 (view on Phabricator)