[build] add cmake build system

 - fix permission in searpc-codegen
 - remove shared library version
[tests] using clar now

  - enable test in travis-ci script
add clang-format support