Refactor WrappedModule#all_methods_for, delete private method all_from_c...

...ommon to Pry::Method.all_from_obj and Pry::Method.all_from_class.