renamed query.updateIndex to indexUpdateMode
changes as per updated CBL API: error->lastError, mode->status, remove persistent property
renamed rows() to run() as per new CBL API
updated to use the new validation block signature.
renamed the replication object factory methods; updated to latest CBL
fixed incorrect replication properties