pkg/oonf_api: fix conflicting types on msba2
destiny: fixed condition for error handling
send_tcp returns either the length of the sent data,
or -1, if an error was detected.

The current implementation checks for != 1.
This results in executing the error case, although
there was semantically no error returned from send_tcp.
unittests: core: add test_bitarithm_[ml]sb_all
Add test_ipc_pingpong
Add bitarithm measuring
core: faster bitarithm_msb
destiny: using a bit field for tcp_header->data_offset is more convenient
In the current implementation the data offset is coded into an uint8_t.
Of this uint8_t only 3 bits apply for the data offset.
The remaining bits represent reserved flags for future use.
However, a proper bit masking is forgotten in order
to obtain the data offset part of this uint8_t.

Therefore, defining this uint8_t as a bit field allows a more convenient
method of access.
core: remove unnecessary tests in sched.c

The scheduling gets activated by `kernel_init()` calling
`cpu_switch_context_exit()`. Before this `sched_run()` won't be called.
When it gets called, at least the main thread and the idle thread are
spawned. The idle thread won't die / get killed. So there always is at
least one thread in `runqueue_bitcache`.

Closes #19.
cpu: renamed cortexm_common->cortex-m3_common and cleanup
pnet: silence unused argument warnings
Merge pull request #1295 from haukepetersen/mv_cpu_cortexm-common

cpu: renamed cortexm_common->cortex-m3_common and cleanup
Merge pull request #1312 from mehlis/pnet-unused-param

pnet: silence unused argument warnings
cpu:cortex_common: add core_panic function
Merge pull request #1313 from thomaseichinger/cortexm_crash

cpu:cortex_common: add core_panic function
Merge pull request #1280 from cgundogan/fix_send_tcp_error_check

destiny: fixed condition for error handling of send_tcp in destiny_socket_send
make: remove local definitions of (ELF|HEX)FILE

We have sane defaults for `ELFFILE` and `HEXFILE` in the root
`Makefile.include`. The local definition for `ELFFILE` of mbed_lpc1768's
`Makefile.include` was wrong, which caused e.g. `make buildsize` to
fail.
Merge pull request #1303 from Kijewski/mbed_lpc1768-fix-result-paths

make: remove local definitions for ELFFILE and HEXFILE (was: "mbed_lpc1768: fix ELF and HEX paths")
native: use `real_pipe()` and `read_close()`
Merge pull request #1302 from cgundogan/fix_tcp_header_data_offset

destiny: using a bit field for tcp_header->data_offset is more convenient
dist/tools: add license checker

Creates file structure that maps files to licenses by grepping for
license patterns (patterns for licenses found in RIOT included).
Sets exit code to 1 if an unknown license header is detected.