added explicit dependencies on active_record components
This patch enables `require 'nulldb'` outside rails

ActiveRecord::Migration is required for L45
ActiveRecord::ActiveRecordError is required for ActiveRecord::Migration