Bugfix: Adjust bitset (orient., flip, rotation) in case of inverted matching

In 3D we have to take care of the fact that the bit face_rotation gives the
relative rotation of face_1 to face_2, i.e. we have to invert the rotation when
constraining face_2 to face_1. Therefore face_flip has to be toggled if
face_rotation is set.

Such an inverted matching is necessary to deal with hanging nodes on
boundaries.

Output verified against documentation [1]

[1] http://dealii.org/8.1.0/doxygen/deal.II/namespaceGridTools.html#a137eccb690dbaaee166b6a35a011e1ce