fixes #3501
removed debug code #3501
Merge pull request #3540 from dotCMS/issue-3501-concurrent-exception-ESContentletAPI

fixes #3501
#3531 environment count is on endpointsMap.size
fix for error in ContentletAPITest #3501
Merge pull request #3542 from dotCMS/fix-for-issue-3501

fix for error in ContentletAPITest #3501
#3494
Merge pull request #3545 from dotCMS/issue-3494-support-searches-for-multi-word-tag

#3494
#3521 for master ee.jar
Merge remote-tracking branch 'origin/master' into issue-2398-Missing-javadocs-documentation-on-Push-Publising