improve JsCallable metamodel
improve type() metamodel
fix ceylon/ceylon-js#307 detect infinite loop in stack trace