Fix the commit “Save user database periodically to avoid data loss” to use gobject introspection

This fixes the following commit to use gobject introspection:

commit 5d88bb3fef806f4feaef239e4fd78970e19d115a
Author: mozbugbox <mozbugbox@yahoo.com.au>
Date:   Sun Oct 28 19:32:22 2012 +0800

    Save user database periodically to avoid data loss

    Periodically sync mudb content to usrdb so we don't loss user created
    phrase and freq when crash.

    Currently the interval is set to 16 input ops or 30 seconds between
    saving.
Allow tables to specify a symbol for display
Merge pull request #27 from mike-fabian/fix-saving-database-periodically-for-gobject-introspection-and-a-patch-from-leftmostcat

Fix saving database periodically for gobject introspection and a patch from leftmostcat