removed dependency on invoca-metrics by adding callback, pulled in log_error_stub from invoca-utils, and other minor improvements from review.