Move array_* helpers function to Arr class
Merge pull request #4620 from lucasmichot/4.2-array-helper

[4.2] Support/Array : add Arr class