Update README.md
Fix SQL used to get last sequence number during updating indexes
Fix version of CDTDatastore we depend on
Added CDTQLogging.h

Added CDTQLogging.h file which contains macros to use
CocoaLumberJack logging framework. The log statements are
name spaced with the prefix CDTQ

Added doc describing logging

Added Error log statements to code base