facet search: move URL generation out of views + expose nav as JSON
issue editor: add facet searches for promises/propositions
issue editor: remove duplication