Bug 1030972 - Import tasks from Bugzilla

@bobsilverberg @Osmose r?
These should probably all be part of a class, and then this variable can be sent in the `__init__` method rather than being a global.