Fixed SelectKBest corner case: k=0

Without this fix k = 0 will have the same behavior as k = 'all' based on how
the array indexing was written.

I've included a test that demonstrates proper behaviour.
Merge pull request #3010 from griffinmyers/fix-select-k-best

Fixed SelectKBest corner case: k=0