Remove dependency on curl

The core ownCloud libraries provide a getUrlContent() util which will
attempt to retrieve the contents of a URL using curl with a fall-back to
get_file_contents(). By using getUrlContent() we can remove curl as a
dependency, which is useful for servers that don't have it installed.