Allow passing user/pass explicitly or via netrc

#2211
Fix passing URLs not ending in /remote.php/webdav
Implement --non-interactive as per Juergens' request
Remove stray file that was not meant to be committed
Remove unused confdir option
Merge pull request #2214 from owncloud/2211

Implement (most of) #2211