In client, wrap errors in Error object so they pass through event emitters
In client, wrap errors in Error object so they pass through event emitters

Node's event emitters only allow Error objects to be passed in to
'error' events. Prior to this change we were swallowing errors and reporting
them instead as the cryptic:

     Uncaught Error: Uncaught, unspecified "error" event. ([object Object])

share/livedb