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.