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.