Merge non-pipelined and pipelined request generation

- script_request() now always uses zmalloc() to allocate the buffer, so
  the caller always have to call zfree(). Previously, we had to handle
  non-pipelined requests specially because their buffers were managed by
  lua, but not anymore.