remove all occurrences of log.printStackTrace

...because it is not something the current GS log library (bunyan)
supports. Replace it with a JS equivalent.
call overlay_key_to_url as global function everywhere

the game server registers 'overlay_key_to_url' as a global function
(not a method of any game object class)