Cleanup messageFormatter example to use logs from build steps instead of directly using build logs

Current example ignores build steps and directly fetches build logs, this change fetches the last completed step first and then goes about extracting build logs from said step. Makes for a better example to follow
Or maybe:
  for step in rev_steps:
       ...
  else:
      logs = build.getLogs()   # if no step matched