[EXPORT][GCC_ARM] additional linker option for wrap main

Most makefile templates didn't use the -Wl,--wrap,main so that
__wrap_main was not called.
[EXPORT][GCC_ARM] additional linker option for wrap main

Most makefile templates didn't use the -Wl,--wrap,main so that
__wrap_main was not called.
[mbed][rtos][k22f] Add initial FRDM-K22F support
Merge pull request #732 from sg-/k22f_rtos

RTOS: Add initial FRDM-K22F support
Merge pull request #730 from ohagendorf/make_wrap_main_2

Tools: Exporter for GCC_ARM - additional linker option for wrap main
Minor change: added more informative commnet about self.detect_code field in Target class
target detection API added together with detection codes which will be used to determine platform - used mainly by lmtools
Unlocked --db switch. Added Wiki page entry to explain how to use MySQL DB with test suite
Unlocked --db switch. Added check when parsing DB connection string