Removed entity type from _id and changed deletion to keep the kCBLISType key.
Improved documentation, cleanup and improved error messages.