periodic bookmark syncing with server

Added functions and hooks to refresh the local cache and check for new
bookmarks every 5 minutes. It's unclear whether or not this is working
yet, still needs to be tested.