Fix mdk5 building
1. Delete trailing whitespace for tools/builing.py, tools/keil.py.
2. Add mdk5 building for the following bsp:
   stm32f0x, stm32f107, stm32f10x, stm32f20x, stm32f40x.