cpu/cc2538: added extern C for rfcore.h
unittests: test full 16 bit range for bitarithm

Also uses a better pseudo random number.
Revert "core: faster bitarithm_msb"

This reverts commit ed7e233876239e5a6815150c33fb74215069f829.
test/hwtimer_spin: test slightly wider range

test is now also testing for values slightly above SPIN_BARRIER
dist: run cppcheck with only one job (triage #2089)
Merge pull request #2099 from haukepetersen/fix_test_hwtimerspin

test/hwtimer_spin: test slightly wider range
Merge pull request #2101 from N8Fear/cppcheck-triage

dist: run cppcheck with only one job (triage #2089)
Add the AODVv2 Routing Protocol

This PR depends on #1766.

It contains a minimal implementation of the AODVv2 routing protocol.
*Not* implemented are:

	- AckReqs
	- alternate metrics
	- multiple interfaces
	- clients and Client Networks
	- buffering
	- all addresses, TLVs, and features that are marked as optional

An example application can be found at https://github.com/Lotterleben/RIOT-AODVv2/tree/master/aodvv2_demo.

The implementation relies heavily on a functioning Neighbor Discovery Protocol.
It might be necessary to fill the neighbor cache manually with the current state
of RIOTs NDP implementation.

The value of AODVV2_MAX_UNREACHABLE_NODES has been chosen arbitrarily and will be subject to
future improvement.

Please note that based on my experience, with the default transceiver
buffer size (3) of the native port, about 2/3 of the route discoveries
will fail. This has been addressed in issue #1747. It is advised to increase
the transceiver buffer size when using AODVv2 as a routing protocol.
Merge pull request #2094 from OlegHahm/fix_bitarithm

core: Fix bitarithm and unittests
tools: added pcap script for sniffing radio

To use in combination with
https://github.com/RIOT-OS/applications/tree/master/sniffer
Merge pull request #885 from OlegHahm/sniffer_applicatoin

examples: net: Sniffer application
Merge pull request #1767 from Lotterleben/aodvv2_PR

Add the AODVv2 Routing Protocol
Merge pull request #2083 from dangnhat/added_externc_for_missed_header

cpu/cc2538: added extern C for rfcore.h
Introduction of a of-manager for RPL.

The of-manager should gather all available of´s and initialize the prefered one, based on rpl_config.h.
Merge pull request #1080 from fabianbrandt/of_manager

Introduction of an of-manager for RPL.
Introduction of RPL non-storing mode.

This implementation is based on RFC 6550 with addition of RFC 6554 (Source Routing Header for RPL). Both can be found under the following links:
- http://tools.ietf.org/html/rfc6550
- http://tools.ietf.org/html/rfc6554

The PR provides basic functionality for handling and forwarding packages in non-storing mode. In addition the structure of the previous implemented RPL storing mode is now revised, so that readability and modularity is increased. The following features are implemented:
- building function for a SRH and integration in common packets
- source-route build algorithm based on the structure of the DODAG
- an RPL-based interpretation of the SRH and removal at destination
- new structure for RPl-module with extracted beaconing-functionality
- leaf nodes are now supported

There are some missed goals and should be included in future updates:
- building a common routing table structure for different types of routing protocols
- routing tables are statically assigned via source code, future update should have an optional variable at build-time, which sets the size of the routing table depending on the desired functionality of a node in the network (root, node, leaf)
Merge pull request #1404 from fabianbrandt/rpl_nonstoring

Introduction of RPL non-storing mode
lint: fix possible nullptr deref in *pwr
lint: fix uselessAssignmentArg start_index
lint: fix syntax error caused by ifdef mess