fixed getEdge successor bug
fixed formating; done some cleaning in testsimulation.cpp
added an error msg in Edge::setStartpointName & end - if not attached to a system, the method will crash