Fix java runtime (long + inherited methods)

this pull request is intended to fox two problems with java Runtime class's slowCallField method
- if a java function has an argument with long or java.lang.Long type, runtime was not able to discover it
- if a java function is inherited on an object runtime was not able to discover it