Add Application Service observer API to track an application's lifecycle.

Added 'void OnApplicationLaunched(Application* app)' and 'void OnApplicationTerminated(Application* app)'
to ApplicationService::Observer class.
Merge pull request #1436 from pozdnyakov/Add_Application_track_API

Add Application Service observer API to track an application's lifecycle.