Split the collect test into collect and collect-lossy to make each individual
travis build complete faster.

Also changed the armgcc download link to a github location.
Updated paths to relative paths to make it easier to move tests to new directories
Separated the uIP makefile from the top-level Makefile.include into a separate core/net/Makefile.uip makefile
Added #if UIP_CONF_IPV6 around the IPv6 code in the uIP source tree to allow the C files to be compiled even if IPv6 is not configured.
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
Cleanup and refactoring of the STM32w port

This is a general cleanup of things like code style issues and code structure of the STM32w port to make it more like the rest of Contiki is structured.
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 #172 from adamdunkels/feature-split-collect-regression-test

Regression tests: split the collect test into two, moved armgcc download location
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