[WIP] Platform abstraction layer.

Work in progress about the platform abstraction layer.
For now it is only a README about semaphore usage but I am interested in early feedback since we wil be using this module all over the code.

Don't merge for now.