Fix NoSymbolBetween()

Closed #46
Rewrite macro STATIC_ASSERT to avoid recent GCC warnings

Reference:
  http://www.pixelbeat.org/programming/gcc/static_assert.html
Add USE_VALGRIND option in cmake
Add struct tag_PreeditBuf
Replace chiBuf and chiSymbolBuf with preeditBuf