Simplify exception mappers by using an annotation to map to http status code

Copy over from insight-error-handling

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>