Nordic merge with the new CMSIS-DAP

Support for ATSAM3U2C and NRF51822AA are added as well as support for
HEX programming along with various fixes (such as the order of
enumeration for HS USB devices)
Changes after a merge with the upstream
RTX_Config updated

Number of OS_TASKCNT increased by 3
Updated CLOCK Macros and corrupt HEX handling

Clock Macros in DAP.c is updated for higher USB speed for ATSAM3U2C (3
times faster programming times): could this affect other chips?

Added an extra reason for failure: CORRUPT_FILE. When a corrupt hex is
dropped, usb will disconnect and a fail.txt will be created.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	shared/USBStack/INC/usb_lib.c
	shared/USBStack/SRC/usbd_core.c
Emergency erase

5s reset routine added to completely erase nrf chip without downloading
flash algorithm.
Hex programming bug fix

Address jump before the cached data is written is not allowed.
Hex programming of files with many holes

-- Fix provided for failure to program hex files with large number of
unspecified address jumps in data programmed (caused buffer overflow).

-- Check inserted to make sure buffers are initialized for HEX
programming.
Merge remote-tracking branch 'upstream/master'
Revert "Merge remote-tracking branch 'upstream/master'"

This reverts commit 6df65db70da5357eabc05e380d9dac91d66ec056, reversing
changes made to 2be6ce2b49cfb8d8c3cf336d3a04c6a09a2719e7.
Version number update
Default PAR and CRD type files to HEX for NRF51822

When downloading files from IE and Chrome directly to the mbed drive
these files show up as CRD and PAR files.
CDC Flow Control upto 1Mbps for nrf51822
MSC packet size fix
V0215
Open Drain UART TX and RX
Updates to UART comm and Target Reset

Removed pause in SAM3 to NRF uart communication.
Target reset will open-drain SWDIO and SWDCLK to keep NRF out of debug
mode. Target reset is called by main after all the initializations.
USB enumeration order and descriptor length update

HID will enumerate before CDC.
UART opendrainig in some parts removed to improve reliability.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	bootloader/mdk/k20dx128/k20dx128_bootloader.uvproj
	interface/Common/inc/DAP.h
	interface/Common/inc/version.h
	interface/Common/src/main.c
Bug fixes after the merge

rename bootloader flash.c to flash_hal.c and the function names.
update project settings.
update uart CDC to enable flow control ATSAM3->NRF.
Version 0216