Start cleaning up getMetadataSingleValue.

For goodness' sake, replace getMetadataSingleValue("name") with
getName().  This removes many uses of getMetadataSingleValue in favor
of a common DSO method.

Also convert remaining calls from literals to the manifest
constants provided by Community and Collection.  This should make them
easier to hunt down and replace with some kind of field references.