upgrade version to 0.9.0
add consts for log modes
add log.cpp and log.h to branch