Bug 1030972 - Import tasks from Bugzilla

@bobsilverberg @Osmose r?
@mjzffr This comment has not been addressed. Our standard is to place code like this in a class, so I think this should be converted into a class.