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.