refs Tokutek/ft-index#46 Move template implementation into header (so it works)