core: sched: thread: optimize thread status field usage

see PR #716 for discussion
sys: update ps to reflect thread status variable changes
add oonf_api pkg
Changes to `thread_wakeup`

`thread_wakeup` did not check if target pid is invalid.

`thread_wakeup` used `dINT` and `eINT` directly.
It should use `disableIRQ` and `restoreIRQ` instead, because there might
be other (good) reasons why one might want to call `thread_wakeup` with
interrupts disabled.

`thread_wakeup` yielded even if the other thread had a lower priority
than the current thread.
Allow escaped characters in shell

Per #708.

This patch allows escaped characters in the shell, and makes the
apostrophe a quotation mark. The escape character is backslash.

The term "escape character" is used liberally in here: if a backslash is
encountered in the command line, the next character will be taken
verbatim. No escape sequences are understood, i.e. `"\n"` is just the
letter `n`, not a new line.
moved debugging statements from header to c file

Additionally, declaring the stacks as static.
amendment - to be squashed
Don't use INCLUDES for building any native at all.

native modules will never need the dynamic INCLUDES, so we define our
own NATIVEINCLUDES. Due to the current make structure, the only way to
not use INCLUDES is to redefine the build rules.
native/posix: Don't include sys/types.h in sem

`sys/types.h` contains the native definition for `pthread_*_t`. This
causes clashes if you want to use `semaphore` and `pthread` in the same
application.
tests: add test that shows sequence of received messages
test_thread_msg_seq: add missing main() return statement
Add automatized test for sha256
enhanced RPL debugging
RPL byte order issues
Merge pull request #805 from OlegHahm/rpl_fixes

RPL: byte order fixes and debugging
ccnl: added documentation and proper event handling for dropped packets
removed error causing packed attribute in net_if
removed obsolete buffer
Merge pull request #833 from OlegHahm/net_if_fix

sys: net: net_if fix
pthread: mutex - return the right values