Handle possible errors in geo search

- Check whether polygon has more than two points
- Check whether distance is greater than 0
- Revise code for better readability
Replace 'field' and 'term' parameters in search methods by 'q'

- Use queryString instead of matchQuery to use q as search parameter
- Do not split up search string into field and term