Allow loading debug JS

If the user requests ?dbg=1 serve gerrit_dbg.nocache.js if present.
This allows the browser to use a different build of the JS code
that maybe is compiled with detailed line information and does not
obfuscate the symbols.

The Maven build does not currently produce the debug file. A future
change may make this an optional compile time feature.

Change-Id: Ic2d24206a2e14377e2d3e567120a14941b74e8d6
1 file changed