Ticket 47451 - Need to unregister tasks created by plugins
Bug Description: Tasks created by plugins are not unregistered when a plugin
is stopped or deleted. Repeated stopping/starting a plugin
that registers tasks will corrupt the dse callback linked list
and will crash the server if a task is invoked.
Fix Description: Create a plugin task unregister function, and call it in the
clsoe functions of plugins that register functions.
https://fedorahosted.org/389/ticket/47451
Reviewed by: nhosoi(Thanks!)