e2fsdroid/libext2fs: move hashmap into libext2fs

Also update it so that hash key can be arbitrary length instead of
null terminated string.

Bug: 64109868
Change-Id: Icb0d91d5d753e86edaffcacb043b6f1aa429a528
10 files changed