take into account signs associated with dofs in curl operator (needed for hdiv, hcurl : #251, #252)