Changes IS_ARRAY constants to IS_LIST constants.

Also changes the is_array() methods to is_lists().