Let the framer functions use ints instead of uint8_t to make them more generic
A number of updates to nullrdc

* add a few rimestats to keep track of sent and received acks
* made a number of configuration options possible to override (ack timing)
* added the logic for sending 802.15.4 link layer ack packets, despite not being able to guarentee the 802.15.4 MAC timing
* increased the number of sequence numbers to keep track of for duplicate filtering
Send announcements only if the node is configured to be a router
New mechanism for computing the 6lowpan header length dynamically, depending on how large header the framer creates. Also check the incoming packet for buffer overflow.
Rimestats bugfix: only compile the rimestats printout if rimestats are enabled
Minor code style fixes to the contikimac and nullrdc code
Bugfix: keep track of receiver being awake as a local variable rather than a global, as it may have changed between invokations
Defensive programming: make sure that we don't fail completely if we get a callback for a NULL pointer
Minor bugfix: explicitly cast pointer argument in debug printf
Include the rimestats variable only if rimestats are enabled by the configuration
Bugfix: check the size of the outgoing packet to avoid overflowing the output buffer
Major bugfix: when nullrdc is asked to send a list of packets, send the list of packets and not just the first packet - this is essential for retransmissions of fragmented IP packets to work
Merge pull request #176 from adamdunkels/feature-net-bugfixes

Network system bugfixes
Merge pull request #174 from adamdunkels/feature-net-improvements

Improvements to the core/net/ code