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
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
Merge pull request #858 from Kijewski/mutex-clutter

core:mutex: remove refactor remnant
core:mutex: allow idle thread to use mutexes
Merge pull request #725 from kaspar030/optimize_thread_status_usage

core: sched: thread: optimize thread status field usage
include needed stdint.h
Merge pull request #865 from thomaseichinger/redbee-econotag_fix_board_h

redbee-econotag: include needed stdint.h
Add test if the message queue is fair
apply channel mask when setting the channel
Fix address output of net_if shell command
Merge pull request #868 from OlegHahm/at86rf_channel

apply channel mask when setting the channel
Disable debug output for at86rf231 driver