Merge pull request #4 from fxsjy/master

sync code
修改demo.py的代码格式，使得符合pep8规范
规范readme的示例代码
将tab换成空格，使用is判断对象是否为None
替换tab为空格，使用join代替循环
添加cut,set_dictionary,cut_for_search三个测试用例
添加cutall 测试用例
add jieba.posseg test case
add generator test
Merge pull request #48 from cloudaice/cloudaice-dev

格式化了demo文件，添加了jieba_test.py单元测试文件
Merge pull request #5 from fxsjy/master

merge master from fxsjy