change domain pulldown rendering to be less blunt

cache the data and iterate and rebuild the html in template tag vs. entire html block. 

add translation

this makes switching languages work.
Merge pull request #1768 from dimagi/header_translate_cache

change domain pulldown rendering to be less blunt