Fixed problem where empty dc:subjects could be output

In a MODS record with mods:hierarchical but not mods:topic, empty dc:subject elements are created because "<dc:subject>" is output without first checking whether mods:topic, mods:occupation, or mods:name exist.

This PR just adds a check for mods:topic, mods:occupation, or mods:name before it outputs the <dc:subject>