Added jii.reduce, jii.sum, jii.multiply, jii.flatten, jii.eachSlice, jii.eachCons, jii.dropFirst, jii.dropLast and some small improvements in core functionality