change how module search is performed
change how module search is performed

also done in nbody_reorder_atoms in commit dddb0fd
works both when installed as a package and otherwise

jewettaij/moltemplate,smsaladi/moltemplate,smsaladi/moltemplate,jewettaij/moltemplate