Fix makefiles

Also add ipv6 support.
Get cpu clockspeed from g_syshz
Start adding xbh task
Cleanup and upgrade to LWIP-git latest
Line ending changes and pulling from FreeRTOS
Pulled sys_arch stuff from freertos examples
Added debugging utilities
FreeRTOS and LWIP setting changes to make sockets work