filterIsKclassSubclassOf

Utility functions that filters declarations to only those that are subclasses of KtorModule, and returns a properly typed list for them.