Added Attributed class.

Added the Attributed abstract base class and the AttributedType<T>
template base class for types that have attribute lists, but aren't
messages (no instantiation-by-name, memory pooling, or reference
counting).
Fixed errors in previous commit.