Added tree function and replaced basestring with str
Merge remote-tracking branch 'hhaderer/master'

Conflicts:
	easywebdav/client.py