DB queries

For gathering data for UI navigation (Configure/Configuration for example).

To test:
======
```bash
py.test -v -k test_db_queries
```
and also try eg.:
```python
nav.go_to("cfg_settings_currentserver")
```
multiple times and change the location in accordion eg. to Default zone or something else to see that it really navigates there.