This patch adds calls to be able to peek at items other than just the oldest item in a cib based FIFO. It also adds an "unsafe" peek to match the existing "unsafe" put and get functions.
This patch updates the doxygen comments to follow suggested practice of using retval.
This commit splits core into it's scheduler/IPC part and into other code that is either used or uses the scheduler, through defined APIs.