core: split TCB from stack

This eliminates problems like #1267 and is architectural easier to
userstand.

Part of my ongoing idea to "abandon numeric PIDs" (#1004).
SQUASH ME: fix thread_create() usage