debugger.sendDebugRequest returns refs lookup.

Changed sendDebugRequest() so that it converts response.refs array
into a lookup table before sending it to the callback.