Adds Arr class with test
This will be a non-breaking merge, internal global array helper
functions have just been copied over to a namespaced class