Split ExternalModuleEnumerator to its own file in new kerneltools module

When kernel-gen will also be ported to Python, it will join
ExternalModuleEnumerator in the kerneltools module, leaving just a small
script as kernel-gen just like kernel-lsext does with this commit.