Merge pull request #1 from wtsi-npg/devel

merge changes from wtsi-npg
replace uri_escape() by uri_escape_utf8() to handle quotes etc.
Changes
Merge pull request #151 from srl147/devel

replace uri_escape() by uri_escape_utf8()