Added optional printing of extracted module dependencies
Added filtering of core modules to extract-depends script