serialize Definition object in Kompile and load in KRun
fix Definition copy constructor