Resume/pause syncing are no longer private.

I miss static typing.
Keep pinned notes on-top.
Don't sort on bulk set
Wait for authmanager before setting registered

Without this, the server model might try to sync before the authmanager
is able to return the token.
fixed variable names
fixed issues with sync order on reload