TS-2335: add features for ts_lua

1) inject remap vars
2) free memory which is allocated by TSUrlStringGet
3) add ts.client_request.get_pristine_url()

Signed-off-by: Quehan <quehan@taobao.com>
Signed-off-by: Yunkai Zhang <qiushu.zyk@taobao.com>