FilterParser can parse filter string including special chars.

I forgot I sent a pull-request #72 to the upstream repository. the upstream has been evolving since I sent the pull request. 
So I've merged the head of the branch master and rewrite a test code. 

@jch Thank you for informing me.