sort_word: Eliminate redundant space in structure WORD_DATA

Structure WORD_DATA has num[2] array, but num[1] is not actually used.
This patch changes num[2] to num, a single variable.  It eliminates each
WORD_DATA instance by 4 bytes (on 32-bit machines) without influencing
execution flow.

Signed-off-by: Jim Huang <jserv@0xlab.org>
Change the modifier of ueStrLen to const

Signed-off-by: Jim Huang <jserv@0xlab.org>
Add ueStrStr, which locates a UTF-8 substring from UTF-8 string

Signed-off-by: Jim Huang <jserv@0xlab.org>
maketree: Close input file after used
Bump copyright date
plat_mmap: Let unchanged filename be const.

Signed-off-by: Jim Huang <jserv@0xlab.org>
update NEWS
Add ChewingData to TreeFindPhrase parameter
Store dataPath into libraryDataPath
Refactoring: chewing_new, chewing_delete
Move tree to ChewingData
Check tree before terminate it
Add ChewingData to GetCharFirst parameter
update platform suport: fcitx and mozc
Move arrPhone, begin, phone_num, ... to ChewingData
Fix compiling error when --enable-binary-data=no
Add ChewingData to GetPhraseFirst and GetPhraseNext
Rename field name in ChewingData
Move global variables in dict.c to ChewingData
Remove unused code