Dev contact sort

Addresses #565 by adding new sort order

Also this code improves on presence handling, and once again loads the latest/highest priority presence value from the server. This seems to be working fine, but we may want to optimize it to only fetch from the server in some cases.