Add a tool to dump ibus table database

ibus-table-query is a handy tool to see what's in the phrase table
database.

    $ ./ibus-table-query -t wubi-haifeng86 aeq
    Using table: /usr/share/ibus-table/tables/wubi-haifeng86.db
    mlen clen m0   m1   m2   m3   category  user_freq freq      phrase
    ==================================================================
    4    2    a|1  e|5  q|17 d|4  3         0         2292000   菜肴
    4    2    a|1  e|5  q|17 c|3  3         0         552200    菜色
    4    2    a|1  e|5  q|17 n|14 1         0         1266000   菜馆
    4    2    a|1  e|5  q|17 y|25 3         0         6350000   菜鸟
    4    1    a|1  e|5  q|17 k|11 2         0         1000      葋[U+844B]

    $ ./ibus-table-query -t wubi-haifeng86 菜
    Using table: /usr/share/ibus-table/tables/wubi-haifeng86.db
    mlen clen m0   m1   m2   m3   category  user_freq freq      phrase
    ==================================================================
    2    1    a|1  e|5            3         0         1132      菜[U+83DC]
    3    1    a|1  e|5  s|19      3         0         1132      菜[U+83DC]
    4    1    a|1  e|5  s|19 u|21 3         0         1132      菜[U+83DC]
Skip None entries when print keyboard value.
Left ALT key to cycle candidates in the current page
Merge remote-tracking branch 'mozbugbox/tools' into rel201212
Fix marking of translatable strings for gettext

was broken in:

commit 6d2ab577c41c9b07a84c049137c8184bb67f5e30
Author: Caius 'kaio' Chance <me@kaio.net>
Date:   Fri Oct 5 10:40:47 2012 +1000

    Refactor _refresh_properties() function.
update zh_??.po files
Add German translation
Add some generated files to .gitignore
Do not fail if the ~/.ibus/byo-tables/ directory does not exist

“/usr/libexec/ibus-engine-table --xml” aborted with an error
if ~/.ibus/byo-tables did not exist.
Patch for regression of select_keys option on table sources. (bochecha)
Merge remote-tracking branch 'mike-fabian/some-fixes-for-rel20121101' into 1.5.0
start porting to gi
add *.pyc to .gitignore
finish porting to gi
Merge pull request #2 from mike-fabian/mike-porting

Finished Xiaojun Ma’s work of porting to Gobject Introspection.
Make cursor in lookup table always visible

The cursor in the lookup table was always visible before porting to
GObjectIntrospection. So it should behave the same way after porting.
Fix typo in self._chinese_mode variable

When porting to GObjectIntrospection, I made a typing mistake
in the self._chinese_mode variable. This caused a problem when
the dconf key for “chinesemode” was not yet set. Then the property
for selecting the Chinese mode in the ibus menu was empty and
and selecting the empty line with the mouse just caused an error.

This commit fixes this.
When detecting the Chinese mode from the environment, also check LC_ALL

LC_ALL has even higher priority then LC_CTYPE and should be checked
first.
Merge pull request #3 from mike-fabian/mike-make-cursor-in-lookup-table-visible

Make cursor in lookup table always visible
Merge pull request #4 from mike-fabian/mike-fix-typo-in-chinese-mode-variable

Mike fix typo in chinese mode variable