fixed the jquery-rails 2.1.x dependency issue. tests work.

See each commit message for description of changes.