Developing mkdir and mount
Get rid of old kernel.h header file

Finally get rid of that CMSIS-RTOS legacy stuff.
Also fixes some includes that got broken in last merge.