add a ngx.req.is_internal() api.

ngx.req.is_internal() return `true` when current request is an internal
request, say a request been rewrited.