fixed the bug from  issue #132 from original jieba issue track

 - issue details from https://github.com/fxsjy/jieba/issues/132
 - updated tests
 - also some code refactors
updated travis configuration file

set golang version to 1.3