typo fixes, syntax fixes

did a code inspection, corrected some typos

also there are several cases when local variables in the loop have the same name, and potentially this may cause issues, see variable `i` here and a little above https://github.com/ruby-amqp/bunny/blob/master/spec/stress/concurrent_publishers_stress_spec.rb#L40