Adding support for user types cleanup

The following patch adds support for user-types cleanup in the database.
Call had been added as well to the cleandb function.

Change-Id: I48e3b85da55e256c87673105551ce36cd15b54b6
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1034201
Signed-off-by: Eli Mesika <emesika@redhat.com>