feature: add method arrayKeys with an additional support for ArrayObject

this is not how PSR-2 braces are written.