[RFC] A general task extraction mechanism for auto_scheduler

I agree it could be part of the PassContext, but perhaps not at the top level as opt_level, but more as a sub-level attribute, like the other attributes in loop unrolling