Fix some more issues in DatabaseDS (Python implementation)
Adds some more fixes I found while using the database server locally, running Sardana test suite, etc.
Summary:
- Case insensitivity
- Added indexes, hopefully good for performance (should do some performance testing on this)
- Supporting "escaped" characters
- Fix error with device startup, due to broken DbGetDataForServerCache. Still not working but does not cause errors any more.
- Attribute/class properties related fixes
- Other minor stuff
There are more issues remaining, but I'm pushing this MR so it can be part of the upcoming RC release.