Statistics now use cached item stats
- cached wrong volume values
- fixed merge errors
- fixed DBRecord::loadFromArray for compund primary keys