add 'immediate' parameter to HandlerThreadScheduler

it will allow to avoid rescheduling actions if scheduled from the same thread
mostly usefull for mainThreadScheduler