Merge pull request #12 from tonicbupt/master

增加api的接口
Merge pull request #13 from tonicbupt/master

我错了
Merge pull request #14 from tonicbupt/master

fix bugs
增加service, 改掉xss(只针对script)

去掉一个无用函数, 增加service方法(tested)

改用jsonify, application/json