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
add mutex_unlock_and_sleep()
add test for mutex_unlock_and_sleep()
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 #728 from BytesGalore/add_unlock_mutex_and_sleep

core:mutex: enable atomic execution of unlock a mutex and sleep for a thread
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
Replace '-' with '_' in BOARD and CPU_… macros
Fix BOARD macro