x86: Add exceptions support

Signed-off-by: Levente Kurusa <levex@linux.com>
treewide: Add multitasking support with various fixes

Signed-off-by: Levente Kurusa <levex@linux.com>