Also moved global classes which should be in the Foam namespace into it.
Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1454