A JS version of IndexSet akin to Cocoa's NSIndexSet / NSMutableIndexSet adapted from SproutCore's SC.IndexSet