Move all imports to task queue for scalability

Per [bug 66237300](https://www.pivotaltracker.com/story/show/66237300) and [66202430](https://www.pivotaltracker.com/story/show/66202430).  `DeadlineExceeded` error on server side; previously fixed by moving to task queue, so the same is done for all import types, including the controls-to-directive import mentioned in the bugs.

Also broke off task queue functions to their own module.