Fixed flush()

Flush was changed to wait until the ring buffer is empty and to wait for the final frame to have been transmitted before being complete.

or:

flush()
    wait for ring buffer to empty;
    wait for final frame to be transmitted;
    unset transmitting;
No more while(1) Defined Panic code for PureVirtualCall
US IWD via a macro Creat interface to bootloader so it will not wipe
code See Application - it Hardfaults as a test see DIE and HANG
Added Spark Wiring Calendar (Date & Time) Library using on-chip RTC
Added teset run on Jtag to test the WDT - LTE add a web function to set
the failuremode
The DWT_Init(void) will now enable debugging of code with the IWT
running (by stopping the IWD on debug halt). This is better for testing
functionality under debug because it removes the possibility of a debug
build working and a release not
Support Spark.publish() with String objects for eventName and data
Implemented Spark Wiring Time Lib (earlier Calendar - Testing ongoing)
Completed and Tested onchip RTC based Time Library
Reimplemented spark_wiring_time using GNU C library (time.h)
Added time zone adjustment and updated arduino's month and weekday calls
Added NetworkClass::RSSI

This function gives access to Relative Signal Strength Indicator (RSSI)
data from the CC3000’s scan table, which is refreshed every few
minutes. It returns signal strength in the range of -127 to 0 dB.
Merge pull request #138 from Mike43110/master

Changed flush() to flush all bytes in buffer
Merge branch 'wdt_rework' of https://github.com/davids5/core-firmware into davids5-wdt_rework

Conflicts:
	src/main.cpp
Latest build products
Merge pull request #147 from spark/feature/publish-with-string-objects

Support Spark.publish() with String objects for eventName and data
Fixed issue #108
Simple time skewing to correct small clock drift #148
updating the readme

specifying dfu-util 0.7 to help avoid confusion
Fixed _loopCount; Changed Timeout Code; Commented CC3000 Bug