Fixed a bug where proper environment was not set when enabling modules and converted bunch of module_exists to drush_module_exists and module_implements to drush_module_implements
Added drush_module_implements to older environments