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
moved debugging statements from header to c file

Additionally, declaring the stacks as static.
amendment - to be squashed
tests: add test that shows sequence of received messages
test_thread_msg_seq: add missing main() return statement
Fix source address IPHC
posix: Disable debug output of pthreads

`DEBUG_ENABLED` should be enabled during debugging, and disabled
afterwards.
Fix `pthread_mutex_lock()` check in test_pthread_cooperation
Merge pull request #849 from Kijewski/issue-844

posix: Fix `pthread_mutex_lock()` check in test_pthread_cooperation
Auto init source address mode
Fix test_net_if
Merge pull request #852 from authmillenon/autoinit-src-addr-mode

net_if/auto_init: Auto init source address mode
Merge pull request #843 from authmillenon/fix-lowpan-iphc

sixlowpan: Fix source address IPHC
Merge pull request #848 from Kijewski/that-annoying-debug-flag-in-pthread-that-effing-needs-to-go-away-already

posix: Disable debug output of pthreads
Merge pull request #853 from authmillenon/fix-test-net-if

tests: Fix test_net_if
shell: remove clutter from shell's Makefile

Remove clutter that was put into centralized Makefile.includes.
Merge pull request #857 from Kijewski/shell-remove-clutter

shell: remove clutter from shell's Makefile
core:mutex: remove refactor remnant