[modutils] setuptools pkg_resources support. Closes #8796 [applied]