Show/hide reference warnings on delete and add/rename questions

http://manage.dimagi.com/default.asp?137480

Other minor changes in this PR:
- 6ab1b21 make tests run faster. YES!
- 3839323 @emord reported that his dev/test setup was using the built version when running stand-alone. This turned out to be because his test page URL did not contain the string "localhost". The logic for detecting when to use the built version could be simplified since we are not using heroku for testing anymore.
Disabled for now because this can cause inadvertent logic expression changes when the (probably incorrect) auto-generated nodeID is renamed to its correct value. Granted, it is a fairly far-out edge case.