add ngx.req.is_internal api

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