Add first-time syncing and more logging.

Now it will sync all the membership models if it determines that
this is the first time it is running.