issue #2525:add iterator for Array and make Array can be used in range-based loop
Merge pull request #3431 from minggo/iss2525-add_iterator_for_array

add iterator for Array and make Array can be used in range-based loop