Add tests for class resolution in diamond-like hierarchies
A couple of small fixes in compat and core modules
Add dumb per-project configurations in .cfg format

For now only source roots can be specified there under
[greentype] section.
Don't terminate batch analysis on syntax error in project