add config.html

add the config page .
Merge pull request #9 from rebeccaYan/master

add config.html
Merge pull request #8 from nighca/client

debug & optimize code diff
debug judging if inline-diff necessary