elasticsearch path components (eg doc id) should be url quoted
add test for quoted chars in url
URL-escape path components, like doc IDs. Fixes #55.