MODE-2259 Fixed the WF/EAP subsystem so that services are correctly deployed in domain mode.
MODE-2259 Fixed the WebApp handlers.
Merge pull request #1182 from hchiorean/MODE-2259-3.x

MODE-2259-3.x Fixed the EAP domain mode deployment issues on the 3.x branch