Improvements to content delivery manager

- new copylocal call
- some cleanup
Fixed copylocal in content delivery manager
Small fixes to content delivery manager
SD-247 - Implement proxy service for ElasticSearch support
Merge remote-tracking branch 'upstream/apy-8-implement-x-filter' into apy-8-implement-x-filter