ApplicationProtocolHandler supports multi apps

This is a step in enabling of Shared process model.
ApplicationProtocolHandler is given with ApplicationService instance and the corresponding application instance
is fetched from the service via newly added "GetApplicationByID" method.
Merge pull request #1426 from pozdnyakov/ApplicationProtocolHandler_supports_multi_apps

ApplicationProtocolHandler supports multi apps