Add throw IOException declaration to IndexFailurePolicy.handleFailure so that commit fails with custom policy, fixed bug in HTableReference.getTableName(), put lock release in finally block to prevent server from hanging, wrote test for custom index failure policy