Implemented some missing functions
Added some functions
Moved Stack mapping to task creation
In case of an error the allocated memory is now freed
The kernel context is now used as source context when remapping the
executable
Included missing files
Added extended ihs which stores some additional registers which have
only to be store when switching tasks
Added missing declaration