Add Citation File download capability

Also minor template fixes (blank out default if user deselects inherit
and default is inherited) Compare metadata block before allowing
inheritance of templates.