Replacing deprecated and removed functionality.
Adding missing middleware for caching.
Merge branch 'master-new-eoxserver' of github.com:EOX-A/ngeo-b into master-new-eoxserver