cpu/nrf51822: fixed gpio driver
boards: added LED macro for pca1000 & yunjia-nrf
make: del no-delete-null-pointer-checks for clang++

This PR enables the use of clang++ to compile C++ projects by adding
`CXXUWFLAGS += -fno-delete-null-pointer-checks`, if `${CC}` understands
`-fno-delete-null-pointer-checks` but `${CXX}` does not.
core: Provide functions for different byte orders

Rationale: see #1586.
tests: Add unittests for byteorder.h
tests: fix bad copy+paste in tests-core.h
Copy some files from cpu/sam3x8e to cpu/cc2538.
Add the latest cc2538-bsl script from https://github.com/JelmerT/cc2538-bsl/commit/f3701a0
boards/iot-lab_M3: change to openocd's new ftdi interface

Openocd communication was done over a deprecated interface definition,
namely ft2232. Using the new ftdi interface speeds up flashing and
doesn't throw warnings anymore.
native/freebsd: fix tapsetup permission
native/freebsd: fix usecond typdef
Merge pull request #1729 from Kijewski/clang++

make: del no-delete-null-pointer-checks for clang++
c++: core: add extern C in header files
nativenet: Apply coding conventions
nativenet: Supply net_dev_t support for nativenet
netdev.tests: Remove unneccessary #ifndef path
Merge pull request #1732 from authmillenon/netdev-nativenet

nativenet: Port nativenet for netdev
Merge pull request #1780 from LudwigOrtmann/native-freebsd-fixup

sys/posix: FreeBSD fixup
Merge pull request #1779 from thomaseichinger/stm32f1-flashing

boards/iot-lab_M3: change to openocd's new ftdi interface
stm32f1: implement RTT driver