Split java_list_overloads in separate methods

java_list_methods() returns only methods (no constructors), and accepts
a 'what' parameter to select static/nonstatic methods or both.

java_list_constructors() returns the constructors and there is no need
to set a special flag.