Add necessary implementations to cpukit to get multi-tasking working.
Now, helloworld and ticker  samples are working on or1ksim.

The most important implementations are for context initialize and switch.
The code is to be refined and optimized later. Some bugs are fixed for clock
driver also.