Improved the performance with single insert statement.

Improved the performance with single insert statement for batch insert and update. Only support rails 2.3.x and mysql database. Another branch of this gem will support rails 3.x and multiple database soon.