Update for owncloud version seven

These changes dynamically update the config.php file, adding the list of 'trusted domains' (actually host headers used to access the ownCloud server).  The changes work with both version 6.x and the newly released 7.0 version of ownCloud.  The updates rely on the separate pull request create-ssl-cert-with-subject-alternative-names-SAN.