Fixes calling methods with wrong arguments
Fixes calling methods with wrong arguments

Because of a missing error check, it called anyway and segfaulted. Also,
factored some more.

remram44/pyjava,remram44/pyjava,remram44/pyjava