[tests] use clar

  - enable test in travis-ci script
Merge pull request #13 from Chilledheart/use_clar

[tests] using clar now
[build] add cmake build system

 - fix permission in searpc-codegen
 - remove shared library version
add clang-format support