Tests: re-order and add new NUCLEO targets
[NUCLEO_F4x1RE] test MBED_A7 InterruptIn failed

The test failed because it was not possible to switch off an already
active edge detection.
The reason was the GPIO HAL module driver function HAL_GPIO_Init. The
function changes only interrupt or event flags when the EXTI_MODE flag
in GPIO_Init->Mode is set. gpio_irq_set changed the event mode to
EDGE_NONE in gpio_irq_t structure but that doesn't changed the interrupt
and event flags in the CMSIS function because of the missing EXTI_MODE.
Now gpio_irq_set is able to switch off a specific or both edge
detections.
The MBED_A7 test was extended by another test to check if switch off
edge detection is OK.
[NUCLEO_F302R8] Migration to STM32Cube driver.

Actual code is based on the Standard Peripherals Library.
[DISCO_F407VG] test MBED_A7 InterruptIn failed

- solution similar to [NUCLEO_F4x1RE]
- digital_loop tests "DigitalIn DigitalOut", "DigitalInOut" and
"InterruptIn" are OK
[NUCLEO_F302R8] Remove stdlib folders

Not used, was there as backup.
[NUCLEO_F302R8] Fix bug with MBED_A7 test (irq edges disabled)
[mbed][KPSDK][K22F][K64F] sw_timer.c seems to be left over from the last version of KSDKand isn't part of the v1.0.0 release. fsl_interrupt_manager.c relies on using KSDK specific startup code and linker scripts which we dont use.
[mbed][exporters][k22f][gcc] Added exporters for uvision, gcc_arm, kds. Known issues are: uvision5 as K22F doesnt seem to be supported with uvision4. gcc_arm and kds - build but blinky led color doesnt behave correctly. Haven't debugged much. python project.py -m K22F -p 25 -i kds [uvision] [gcc_arm] to pick back up.
[HAL][KSDK] Use PIT timer for ticker/timeout

Previously in the KLXX devices the LPTMR was used for ticker/timeout,
since they only have 2 PIT channels which are required for regular
timer. The KSDK targets have 4 PIT channels, which allows for two 32-bit
timers running at 1 MHz.

Since PIT timers are 32-bit, and LPTMR 16-bit, this both simplifies it
and makes it more efficient. It does cost the remaining 2 PIT channels,
but on the other hand leaves the LPTMR free.
[NUCLEO_F302R8] Fix issue with MBED_A7 test

Add new STM_MODE_IT_EVT_RESET GPIO mode.
Small improvements to RTC test to check time elapsed and if timestamp is not zero
Added stdio receive time in host test prints
[NET, HAL] K64F - enet edit for new header files (address used instead of instance)

	- hal enet - asserts commented out as they are not valid for new MCU headers (address, no instance)
	- net - corrections for new ksdk API
Minor updates for InterruptIn testcase
Added NUCLEO support for digital in/out tests

Slightly modified digital in/out tests
[EXPORT][CoIDE] added includes in generated project files

- inlcudes are also linked into the project file of the targets LPC1768,
KL05Z, KL25Z, ARCH_PRO
- for the targets STM32F4x1 and STM32F407 this was already done
Merge pull request #505 from bcostm/master

[Tests] Nucleo - Re-order and add new targets
[NUCLEOs] Fix issue with InterruptIn edges disable (MBED_A7 test)
Merge pull request #507 from bcostm/master

[HAL] Nucleo boards -  Fix issue with InterruptIn edges disable (MBED_A7 test)
Small improvements to ETH test cases - handle not open socket on host test side