URL encode the SOQL query string

Replace the current encoder (that only replaces spaces) with the
java.net.URLEncoder. This allows the SOQL to (for example) contain
parenthesis.
Merge pull request #8 from ahjones/master

URL encode the SOQL query string