Make URLMap location match faster by pre-compiling the regexp

Simple app with 100 mount() calls, before: 0.8 msec -> after: 0.19 msec