Refactor common code to util.js.
Add list of faction affiliations to person.html view.