Fix interrupts

- use standard startup script for discovery kit
- alternate function inputs must use GPIO_Mode_IN_xxx
- interrupts must be enabled in NVIC