Fix command_to_module_name not converting snakecased names properly
Drop unneeded functions and fix module_name_to_command conversions
Merge pull request #2891 from chrismccord/master

Fix command_to_module_name not converting snakecased names properly