Add a `replicate` Array function

This function replicates each element of an array `n` times:

    _.replicate([1, 2, 3], 2) //=> [1, 1, 2, 2, 3, 3]

Added a bunch of tests for the function too.