Display warnings when testing

Hey again – Warnings have been a popular topic here (see #81, #87 and #88).

If you like, this pull request is the testing setup I used to track down the warnings in the code, without seeing warnings from other gems. It should help keep ruby-progressbar warning free in the future.

Cheers!