Added event firing for remote-to-local syncing.

This is not yet done automatically; remote-to-local syncing must be prompted via the `getDriveChanges` function.

Also added Drive id caching for created directories (currently only used for the app directory).
Also added a semi-related TODO.
Also corrected a typo.