Change test_registering_new_handlers and test_count_on_invalid_columns_raises
tesetcases assertion to case insensitive because Oracle database adapter
handles table name in uppercase.
Make current_page? compare binary strings
Merge pull request #11709 from yahonda/case_sensitive

test_registering_new_handlers and test_count_on_invalid_columns_raises can be case insensitive
use drop and avoid a range object
extract habtm handling to a method