fix dict_to_array() for non-array sequences
reimplement get_facet_dof_permutations() using simple iterators

- update H1NodalMixin._setup_facet_orientations()