Fix following bugs:
1. Release directory handle after monitor is closed.
2. Ignore .git/.git\index.lock file changes and restart monitor.
3. Add newline in the logger messages
4. Dispose CDirectoryMonitor after receiving change notification.
Add watch for .git directory and workdirectory seperately if .git directory is in different place (submodules).