manager: track pending authorizations for activating connections
We cannot just fire off asynchronous actions without keeping a handle to them. Otherwise, it's impossible for NMManager to know which asynchronous operations are pending, and more importantly: it cannot cancel them. One day, I want that we do a clean shutdown, where NetworkManager stops all pending operations, and cleans up everything. That implies, that every operation is cancellable in a timely manner. Rework pending nm_active_connection_authorize() calls to be tracked in a list, so that they are still reachable to NMManager. Note that currently NMManager does not yet try to cancel these operations ever. However, it would now be possible to do so.
Showing with 185 additions and 39 deletions