Add wrap function to ActionQueue

Use it to wrap a function such that calls to it are queued instead of
triggering immediately.
Chunk server.unbundleNotes