Added ability for schema dump to output sql schema

If you specify:

    ActiveRecord::Base.schema_format = :sql

These change will honor that setting now and output to structure.sql as it would in a Rails environment.

Tests still pass.