hpacker: Fix CHPKListWriter string base offset calculation

Now it is calculated at the time of write, when all strings are
assembled.
hpacker: Add CHPKHtableWriter

Second type of index builder. Based on ListWriter.