(#1257) - Escape _id in bulkDocs for WebSQL

Before this fix, quotes in doc ids inserted using
bulkDocs would crash WebSQL, since we were just
wrapping quotes around the id string.

I also went ahead and ensured that the WebSQL
adapter properly reports SQLError objects, since
before it would only give an unhelpful 500 with
no message.