Add infrastructure for changing a user's role on sync refs #27

This also moves all actions related to syncing a user's role to one
central location.