Added os_stack_end in the linker.

Removing local definition of os_stack_end.
Static memory support

Adding a simple static memory manager.
Context switch example

Adding a demo for performance calculation.