Cortex panic

Added core_panic handler for Cortex 
  
This commit also introduces a new folder to be include for all Cortex platforms, providing architecture common functionality.