added arrays.flatten for base dev, added first pass at iterables.flatten for es6 dev, updated left and inner joins to use flatten for a variable number of joined objects, updated select and where to match