Refactored copies class into one common abstract class.

DitaMapMetaWriter was a copy of DitaMetaWriter that was just modified
to handle maps instead of topics. Refactored the two classes to extend a
common abstract class AbstractDitaMetaWriter.