ActiveRecord 4 RC1 support

- Adds support for modified ActiveRecord::ConnectionAdapters::TableDefinition#initialize. Was changed in AR 4 RC1.
- Changes NullDBAdapter#select return value to an EmptyResult. Removes deprecation warnings.