implement ArrayObject, refs #7, refs #4

this php ArrayObject seems to be weird when trying to get offsetGet to
work by reference…it may be necessary to wrap ArrayObject…ridiculous