moved require of database driver out of railtie so support non-rails environments