fix enum generation for JVM target
improve Cloner JS impl,
improve Kermeta compat
fix modelEquals method in JS