Copy KoodistoRelations on code changes

Changes being create new code, alter code and add relations to code.