added core_panic handler for Cortex

This commit also introduces a new folder to be include for all Cortex platforms, providing architecture common functionality.
include the newly introduced cortex_common in CPU specific Makefiles
introduces an enum for panic codes
Merge pull request #14 from OlegHahm/cortex_panic

Cortex panic