Extraction of the ActiveRecord::Base#import functionality from ar-extensions for Rails 3 and beyon. Forked to add functionnalities