Improved datamart

- Improved speed by avoiding to calculate the average for each orgunit in situations where there are only one datavalue for each.
- Enable multi-threaded access. Remove relative periods and create process-specific crosstab tables so that many datamart processes can run in parallell.
- Enable relative periods.