add AR JDBC monkey patch from issue 377 and run on 1.3.0DEV version

https://github.com/jruby/activerecord-jdbc-adapter/issues/377#issuecomment-16588026

This commit has been made to allow jRuby guys to debug the problem
in SQLite adapter described in the issue above