metamodel: moved FunctionOrValueInterface to JVM compiler so they can use it too, for #237
Test for #237