Listen to project events

Listen to project events in LanguageService.
Fix #68.