add web api for segmentation, support multiple method

add web api for segmentation, support multiple method

usage: org.ansj.web.AnsjServer <port>

demo: http://127.0.0.1:<port>/segment?input=自然语言处理&method=to