Long running task implementation

Reviewer: @dtalayco

These changes add infrastructure for long running tasks and convert flow deletions to use it. Other operations (flow stats, aggregate flow stats, flow modify, flow expiration) will be converted to tasks once we're happy with the infrastructure and this change is merged.