Made CBLDatabase.lastSequenceNumber faster
Made CBLDatabase.lastSequenceNumber faster

Instead of doing SELECT MAX(sequence) FROM revs
it now does SELECT seq FROM sqlite_sequence WHERE name='revs'
The sqlite_sequence table is where sqlite stores the last generated
primary key for that table.

evsukov89/couchbase-lite-ios,evsukov89/couchbase-lite-ios,evsukov89/couchbase-lite-ios