unify the way we escape query
.travis.yml: test against ruby 2.0.0