add CWLogging.h
convert to use new logging api
project setting changes for iOS static library