fix 2 bugs:
fix 2 bugs:

1. default values were getting written to the output CSL when in choice attributes

2. the incorrect choice was used for locale/terms/term nodes in many cases since the attributes are so similar, in this case pick the one with the most matching attributes

adam3smith/csl-editor,fbennett/csl-editor,citation-style-language/csl-editor,fbennett/csl-editor,citation-style-language/csl-editor,adam3smith/csl-editor,citation-style-editor/csl-editor,adam3smith/csl-editor,citation-style-language/csl-editor,citation-style-editor/csl-editor,citation-style-editor/csl-editor