remove unnecessary lines
return NGX_AGAIN for non-all-received request body
re-order functions
error-logging functions are moved to ngx_http_mruby_error.(c|h)