Ruby 2.0 fixes for the test suite

Ruby 2.0 changes for the test suite:

* Use `RbConfig` - `Config` is depracated
* Fix encoding where `ASCII-8BIT` is expected

These changes require that the lib itself is patched by my proposed patch [1].

[1] https://github.com/matta/rubymail/pull/2