#2119 Add IndexFeatures to CustomKernel and add document.
Fix comments and ERROR information.
Fixed indentation and removed copy function.
Fixed travis bug, EXPECT_NEAR needed.
Merge pull request #2122 from pl8787/indexfeatures

#2119 Add IndexFeatures to CustomKernel