core/net/rime/ipolite: stop ctimer and reset queuebuf pointer when canceling old send

Ipolite is used by netflood and route-discovery modules among others. If a route request is yet to be re-broadcasted and a local route discovery is started (interval == 0), the previous queuebuf used is freed but ctimer and queuebuf pointer is left unchanged. This causes corrupt route requests to be sent, invalid routing tables to be formed, memcmp() on NULL pointer on receive, and other undefined behavior.

Signed-off-by: Oskar Nordquist <oskar.nordquist@crlsweden.com>
Remove unnecessary list_remove in ctimer.c (list_add automatically removes first)
struct queuebuf_data: swap len with data to make sure data is 32-bit aligned
struct frame802154_t: make sure dest_addr and src_addr are aligned
frame802154: move inclusion of linkaddr.h from .h to .c file
llsec: Fixed MIC length; reject unsupported security levels
Merge pull request #861 from simonduq/queuebuf-field-order

Alignment of field `data` in queuebuf
Merge pull request #860 from simonduq/frame802154-align

frame802154_t: make sure dest_addr and src_addr are aligned
Merge pull request #858 from simonduq/cleanup-ctimer

Remove unnecessary list_remove in ctimer.c (list_add automatically remov...
Fix doxygen prerequisites
Sort docdirs

Sorting docdirs is requierd to get reproducable results
Add doxygen regression testing
Add doxygen regression test to travis
Adjust number of errors to travis environment
Merge pull request #871 from cmorty/pull/doxyerrors

Regression testing: Doxygen
Merge pull request #828 from oskarnp/pr-ipolite-fix

ipolite: stop ctimer and reset queuebuf pointer when canceling old send
Merge pull request #865 from kkrentz/mic-length-fix

llsec: Fixed MIC length
Moved thread states from module to header
Merge pull request #874 from marcas756/PullReq-MT_STATES

Enhancement : Moved thread states from module to header
Fixed rssi scanner application and moved into single example