add a ngx.is_internal variable

ngx.is_internal is `true` when the request is a internal request, say
a request been rewrited.