scripts to check for duplicate modules

if a user tries to add a new module with the same name as an existing
one, a message will appear telling them as such. Same with changing the
name of a module to one that already exists.