fix escaping of POSTed values in sendAJAX
fix escaping of POSTed values in sendAJAX

According to the MDN documentation for encodeURIComponent [1],
additional steps are required to be compliant with the spec
as well as RFC 3976.

[1] https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent

istr/casperjs,hlr1983/casperjs,istr/casperjs,n1k0/casperjs,istr/casperjs,istr/casperjs,hlr1983/casperjs,casperjs/casperjs,casperjs/casperjs,casperjs/casperjs,istr/casperjs,hlr1983/casperjs,casperjs/casperjs,n1k0/casperjs,casperjs/casperjs,hlr1983/casperjs,n1k0/casperjs,hlr1983/casperjs,hlr1983/casperjs,n1k0/casperjs,istr/casperjs,n1k0/casperjs,n1k0/casperjs,casperjs/casperjs