Modularize scheduler core and harden ownership flow
* Split the monolithic scheduler into focused modules for state/context, runqueue selection, wait queues, creation/cred, and tick/query paths while keeping the shared plumbing in scheduler_internal.h.
* Tighten multicore scheduling invariants with explicit running_cpu and handoff ownership checks, runqueue repair and migration paths, stricter context validation, and more robust wake, sleep, stop, continue, and waitpid handling.
* Expand scheduler observability through richer /dev/sched metrics, including ownership-conflict tracking, and align hot x86 wallclock, tick, and TLB counters to avoid SMP 64-bit access hazards.
* Remove the rc.local WM/clock autostart override now that runtime startup is expected to come from the main boot path.