modify sdstring module:
  - fix some comments
  - add some assert functions
add macros to support C++ complier;
modify sdstring module:
  - add equal and match functions