bugfix for #28

Fix the issue discussed in #28 with some unicode hackery. Solution can (and should) be optimised further. Check the test suite, it works with any possible query with a unicode character. For example:

```python
where('a').has('ß')
```