add numeric comparison for 'if' directive

I need compare the numeric arguments from the request to check the url in my site, and I don't want to pull in `lua`,  so I add the the numeric comparison for `if` directive.

Maybe this function will be useful.

Thanks.