Add cangjiecommon.h to put commonly used stuff into it

Currently, it includes necessary definitions for
1. calling the library from C++
2. Dynamic linking on Windows