Merge pull request #74 from unidal/abtest

Promote ABTest features from abtest to master
Merge pull request #75 from unidal/abtest

fix merge issues
revise cat api
abtest code wrapup for further test