Creating options for schema dumper.

These options make it easier to change the config from
ActiveRecord::Base to use something else inside of the SchemaDumper.
Merge pull request #11987 from wangjohn/schema_dumper_options

Creating options for schema dumper.