refs Tokutek/ft-index#26 Clean up api a little, fix some bugs in resize