Fix build for beta2 API changes.

The two things I'm uncertain I assumed the right semantics for is the change needed for allDocsMode instead of includeDeleted in QueryResultController.m and CBLSavedRevision objects always being returned by -revisionForItem: in RevTreeController.m.

The other changes look like simple deprecations or symbol renaming to me.