Feature error event

This is the first pass at error management in Norma. It closes #19 for the Alpha milestone