Inspect a module, via its path, and retrieve a list of the plugins inside the module.
        :param module_path: Path of the module to inspect.
        :param suppress: Whether or not to suppresss exceptions.
        :raises: PluginException
        :return: A list of all the plugins inside the specified module.
        :rtype: list

def get_plugins_in_module(module_path, suppress=False):
        """
        Inspect a module, via its path, and retrieve a list of the plugins inside the module.
        :param module_path: Path of the module to inspect.
        :param suppress: Whether or not to suppresss exceptions.
        :raises: PluginException
        :return: A list of all the plugins inside the specified module.
        :rtype: list
        """
        module = module_path if inspect.ismodule(module_path) else import_module_from_file(module_path)
        if module is None:
            # CHeck if we're repressing errors.. Sometimes, such in the case of scanning a dir,
            # This is BOUND to return none.
            if suppress is False:
                raise PluginException("Unable to find plugins inside module at %s" % module)
            return None

        plugin_list = []
        for name, obj in inspect.getmembers(module):
            attr = getattr(module, name)
            if isinstance(attr, Plugin):
                plugin_list.append(attr)

        return plugin_list