Refactor: scheduler: include scheduler.h instead of pe_types.h
... with the exception of a few public headers, so they still get the same symbols (including those in pe_types_compat.h etc.)