Fix REST API sorting and data set importer + small stuff

- Fix fixed spring version dependencies in some modules
- Fix REST API sorting
- Fix data set importer
- Update spring 3.2.6 to 4.0.2
- Update spring security 3.2.0 to 3.2.1
- Use spring bom