fix(record): emits an error instead of _$onError
fix(record): emits an error instead of _$onError

The record handler is not an emitter, and all errors due to
incorrect state should go through the `client._$onError` callback

Fixes #305

hoxton-one/deepstream.io-client-js,hoxton-one/deepstream.io-client-js