fixed field collections
There was a bug in the iterators over field collections that only
appeared when compiling the test suite in optimized mode. For
simplification, the Field collections for global and local fields are
now different classes, rather than weird type_trait-modified versions
of the same class.