edit-server: fix bug with fmt chars in URL (#80)

I've expanded the test cases for good measure.
Merge branch 'master' of github.com:stsquad/emacs_chrome