[NUCLEO_F302R8] Code formatting
Updates to build_api.py (platform_init.c remains platform_init.o in mbed.bld) and moved NMI_Handler from gpio_irq_api.c to platform_init.c for KL05Z, KL25Z and KL46Z target platforms to take advantage of this change.
Update GNU Makefiles to generate DEBUG binaries

* '-g' has been added for all the build to produce debugging information. '-g' allows to get the symbols when debugging with GDB.
* introduce the macro 'DEBUG' to enable/disable build optimization.

Limitations:
* Support in non-Makefile projects has been added.
[NUCLEO_F302R8] Add automatic HSE/HSI clock configuration + change spi default pins

The clock configuration is first tried with external 8MHz clock, if fail
then tried with 8MHz xtal and finally with HSI.
Merge pull request #230 from sg-/master

Create a platform specific file to override WEAK Handlers and pre-main hook mbed_sdk_init

I thought about a better solution for this problem, but I couldn't find one, so this is fine. Just one comment: I wouldn't name that file 'platform_init.c'. First, it might contain other code than just initialization code (for example, mbed_die is also declared as a weak function and we'll need to override it for NRF51822). Second, it doesn't realy send the "this file is special and should be treated as such" message. I'd call it something like 'mbed_overrides.c'. But I'll make this change later. Thanks for the pull request!
Merge pull request #232 from bcostm/master

[NUCLEO_F302R8] Improvements in clock configuration, spi default pins, code formatting
Improvements to Sam's platform_init.c commit
Merge branch 'master' of github.com:mbedmicro/mbed
Merge pull request #231 from oliviermartin/om/makefile-debug

Update GNU Makefiles to generate DEBUG binaries
[NUCLEO_F302R8] Fix issue with SystemCoreClock variable update.

This variable must be placed outside the RAM initialization section.
Merge pull request #233 from bcostm/master

[NUCLEO_F302R8] Fix issue with SystemCoreClock variable update.
RTOS_5 Queue test automation changed - host test is not used now - test is faster
RTOS_5 Queue test small implementation changes
RTOS_4 Signal test automation added to test suite
RTOS_6 Mail test automation added ti test suite
Small changes to testcase to allign with RTOS Mail test
RTOS_2 Semaphore resource locking test automation added to test suite
Small RTOS test names change
Both ST and Nordic boards now support the reset through serial break
RTOS_3 Semaphore resource lock test timeout increased