This commit introduces a generic arch/arm function to evaluate thread stack corruption. The function shall be used upon occurrence of MemManage and Bus Faults. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>