ArrayLookupNode::hasScalarKeys() and extractKeys()

Implements #150.