Issue 619

Fixing #619 by properly encoding the CQL_FILTER parameter.

If it contains an ' AND ' closure, or any spaces, it just got messed up. In #619 only a date filter is mentioned, but this PR *should* fix it across the board.