XNAT-3004 Added John's form data fix, added support for headers thru -H option,
added -c and -C options to return status code and line.

https://bitbucket.org/nrg/xnatdataclient/commits/39dd32f1d97b5c549ff9c81c41bb4bba54d982e0
https://bitbucket.org/nrg/nrg_framework/commits/d6d7bd16ee2d236cc74aee37730335d61dbc1002
XNAT-3465 Fixed issue where new permissions-based renderer didn't take query variables for format into consideration.