Migrate project to Java 17. Allow to edit end-time of the ongoing training instance. Bugfix - return correct value of the hasReferenceSolution attribute.