Added For-each-support for DofManagers. Printouts and error checking is now based on the Dof ID instead of the dof number.