Set capability name in md.

        Every ResourceSync document should have the top-level
        capability attributes.

def default_capability(self):
        """Set capability name in md.

        Every ResourceSync document should have the top-level
        capability attributes.
        """
        if ('capability' not in self.md and self.capability_name is not None):
            self.md['capability'] = self.capability_name