Add IRQ definitions for the F0 family

Modified irq2nvic script to make core-dependent includes.
the core: cm0 argument in the yaml file is optional, defaults to cm3, and can be overriden.