Add Primary Publication to people; sort autocomplete by it

This field needs to be set on people when their accounts are created,
which can happen in 5 different ways, if I counted correctly. Those five
ways are the only ways I tested, so hopefully there aren't any leaks!