Allows list comparison (operator == and !=)

Implementation fron list_view
Fix itertools permutations

The second argument was not well handled. The implementation is
still by far not the most efficient, and not that clean, but
conformance is improved.
This commit fixes three unittests.