fix tools/rime_dict_manager.
update README.md.
Revert "move tree_db into legacy module."

This reverts commit 69ea51cdff6ba42591c785543f65f21029f8a485.

Conflicts:
	legacy/CMakeLists.txt
	legacy/src/CMakeLists.txt