Export the two helper functions to a util module

This will be helpful later on, to reuse them elsewhere.
Move the dbbuilder sources

Splitting it into its own tools/subfolder doesn't bring us anything, and
it actually makes things harder for the future.
Ignore empty and commented lines when building the tables
Add some Hong Kong-specific characters

Hong Kong people use almost exclusively Traditional Chinese.

However, they use some characters which are not in our current TC
tables, because they are either coming from Simplified Chinese, or from
very old Chinese language.

These should be available readily to Hong Kong users, and as such they
should be in our TC tables.

Note that I didn't invent the input code from thin air, I reused the
ones existing in the CC tables.