Migrate the Clickoption and Issue Type settings into the database.

Initial code was signed-off-by: Teny <teny@zhservices.com>
There has been extensive modification and integration work by bradymiller.
Added active toggle to the Issue Type settings and modularized pertinent code a bit more