Project setups and refactoring for STM32 demo projects so that they work with Eclipse GNU ARM plugin