add several function

1)scanSuccess: return whether scan can be conducted in given condition.
2)scan
3)getNextEntry
4)findKeyInPage: Different method from IndexManager::findKeyInPage.
This function is used when we want to scan keys within a range.
5)readKeyRid: read <key,rid>pair from given void* data and offset.