enhanced dev-toolchain and code quality metrics

- removed unused targets from the makefile and restructured it
- added additional libs for code inspection
- fixed a regression within the TypeDefintion class
- added test for the TypeDefinition class (tests the regression fix)