add metadata methods, some refactoring to centralize use of requests
Merge remote-tracking branch 'origin/recursive_upload_cli' into recursive_upload_cli

Conflicts:
	clients/python/girderclient.py