Adding array_keys optimizer, allow using isset with parentheses, other fixes