Included fix for issue#88; use reflection to detect int or long in
method signature as it has changed in an incompatible way from version
1.2 to 1.3 of this class.