Networkjobs: Check if reply body is empty before parsing.

This avoids a false warning that the result is not valid JSON.
ownCloudcmd: Use Account object and ConnectionValidator.

That reads the credentials from the mirall config file if it was not
defined on the command line. Moreover, the connection is validated
before, which sets up the credentials properly.