Allows remove to accept a list of modules

Allows `remove` to accept a list of modules, like `install` does (fixes #378).