Xlrstats testing : latest changes

- better sqlite compatibility
- a few fixes
- improvements in config reading