TestDiagramScene works again + oneProcess small refactoring

Finally the testDiagramScene works again + changed oneprecess class to depend on the projectModel instead of ide class + small coding style updates here and there