Deprecated 'trustedDomains', renamed to 'trustedOrigins'

Fixes #160.
Closes #160.