Change Discover to return description and regex

Discover used to return only the name of the module, now it returns
the description and regex of each function type

changed tests to reflect the new return value

Signed-off-by: Noam Slomianko <nslomian@redhat.com>
Change-Id: Ibe4e6a44302636c40c96453d433caf09fc5bda94