fixed bash completion of rm|remove|unload|switch|swap to not include parenthetical version in the completion (e.g. when a non-default version is assigned, before this fix the completion would end up with something like: "module unload modules/3.2.10(latest)" which is not actually a legal command -- now it completes this as "module unload modules/3.2.10" )
fixed bash completion of rm|remove|unload|switch|swap to not include parenthetical version in the completion (e.g. when a non-default version is assigned, before this fix the completion would end up with something like: "module unload modules/3.2.10(latest)" which is not actually a legal command -- now it completes this as "module unload modules/3.2.10" )

added bash completion of avail -- completes to all of the available modules as well as all of the prefixes found in the avail list

refactored _module_not_yet_loaded to use a function (_module_loaded) rather than examining LOADEDMODULES directly (_module_loaded uses "modulecmd bash -t list")

wtsi-hgi/modules,wtsi-hgi/modules,wtsi-hgi/modules,wtsi-hgi/modules