Syncing sleep entries with the server.

TODO: Fix rounding down of moment diffs.