move ActiveRecord extend call to attachment_saver.rb in preparation for gemifying
update rakefile for ruby 2.0 test task compatibility