Squashed commits of the following:

  47e28f7 add default values for eac imports, replace a test
  63c4d29 fix typo
  9d85db0 update subject type keys
  3347d2a minor fixes of post merge brokeness
  b752118 deleting zombie files
  1e87509 complete merge
  7093b92 clean up rakefile
  caf82d7 refactor import code
  e7ee3d0 WIP importer rework
Correct maximum size for inlining notes
When performing a batch import, automatically determine whether or not to use a transaction based on the user's database.
Wrap record creation/updates in transactions during import
First shot at a streaming batch import process
Fix up batch import interface to match the tests
Removed now unused batch_import schema
Improve error handling and remove unused code
Have the importer use special IDs that can't overlap with real ones
Modify import's Batch to buffer records to a file
Test cleanup and a little more obsolete code removed
Reduce Nokogiri memory usage
Restore permissions