[log] Remove tests on the CommitParser, because it is a test-only parser
[log] Fix module dependencies

* Fix library dependencies.
* Remove unused module dependencies.