Move curr_mpt from proc to thread

Previous implementation didn't allow simlutaneus syscalls
from different threads of the same process. This change moves
curr_mpt attribute to thread system so that scheduler always
maps correct mpt. This should fix some random crashes as well
as one of the hacks with exec.

TODO Move enter/exit and suspend functions to thread specific
     code.