Merge pull request #17 from froj/master

Fix issue #11 (non-blocking pend / with timeout).
Implemented critical section macro
Second macro type implmented. Minor improvement in efficiency
Merge remote-tracking branch 'upstream/master'
Fix issue #7 (usage of stdint.h types)
Merge pull request #12 from antoinealb/master

(oops, sorry) LGTM --
Fix issue #7 (usage of stdint.h types)
Added tests and documentation for critical sections
Added tests and documentation for critical sections
Merge branch 'master' of https://github.com/pierluca/platform-abstraction
Attempt to fix nested block-type critical sections bug
Merge pull request #19 from pierluca/master

Critical section macros
Fix project name in cmake.
Split tests into multiple files.
Merge pull request #21 from antoinealb/split-tests

Split tests into multiple files
First version of malloc wrapper.
added a wrapper around free().
Added panic function.
Added documentation about xmalloc and panic.
Added panic on out of memory errors.
Stylistic + doc changes.