Add spec to for the pretty formatters handling of hook output
Fix the Pretty formatters handling out hook output

For the Pretty formatter it is important that the output (puts) from
After/AfterStep hook arrive before the call to after_table_row, and
that the exceptions from from After/AfterStep hooks arrive after the
call to after_table_row.