ActiveRecord driver fix.

Fixed ActiveRecord implementation.
Added transactions for ActiveRecord driver.
Fixed MySQL example.
Solved require-problem with StringCases.