Improve bitcore bundler customizer

More generic (obtains list of modules dynamically from bitcore)