add custom error formatter

Fixes #69
process.argv.indexOf("--error_formater") !== -1