Auto resume dispatch at thread start/create.
Don't allow thread start/create inside interrupts.

This fixes the volatile power test, and returns the right message even for
bad arguments.
Merge pull request #3764 from unknownbrackets/scheduling

Improve dispatch/interrupt handling in start/create thread