Added ObjectCollection::toKeyIndex($keyColumn).

I've been using such a method all the times and it'd pretty handy to have it in the core.