Ported Array#prepend and Array#append from ActiveSupport