Perf: Speed up JSON string escaping using LUT
Perf: Environment interpolation now done on native side.
Perf: Avoid linear scan of dependencies for another speedup.

In other news, linear searching a list of 3000 things repeatedly isn't the best idea.
To be fair, this only creeps up in a huge build setup, typically when linking with
object files instead of library files which causes a huge inflation of dependencies.
Perf: Add ad-hoc benchmarking function wrapper.

Expose native timer functions to Lua.