Added function get_config() - ownCloud config information

It's just a function to get ownCloud config information - returns JSON, e.g.:
{'website': 'ownCloud', 'ssl': 'false', 'host': 'cloud.example.com', 'version': '1.7', 'contact': ''}

Btw, please delete previous pull request as it was not complete.