Add Gemfile, use suitable version of minitest
Reduce memory usage of _escape_attribute

While generating a 1.4MB RSS feed, this reduced the amount of
allocations in xmlbase.rb from 16MB to 3MB