Tiny refactor and method extraction

Extracts the similar behavior from #instance_methods_from_modules
and #class_methods_from_modules into #methods_from_modules.

Uses compact syntax for iterating with #map.

And... <3 it.  I'll use this every so often!
should this be &:method_type?