Add collection function indexBy

Need underscoreJs indexBy function to
group a collection of sets