fixes #117 - replace whitespaces in URLs with %20

Added a check for whitespaces in the Filter class. This solved the issue of me (#117).
You're right. I changed the code to use URI.escape.

I'm also going to add a spec for this. Gonna post it soon.