Merge XLRstats v3 plugin into Release 1.10

Merging xlrstats v3 plugin from xlrstats-testing branch into release-1.10 branch.
For some reason Travis fails, so pls have a look at it...