Allow * wildcard in trusted_domains to support unstable DNS names and unstable IP addresses

I'm not quite understanding how ownCloud releases are produced from git, nor how to run the tests, and so I don't quite know how to test this. I'm hoping that a friendly soul will advise and/or merge. Thanks.
Corresponding pull requests to docs coming.
Indentation looks a little bit off here?