allow for dumping sql

#24 doesn't work, since it just dumps the ruby schema into a .sql file; it never gets the actual SQL code at all. This PR fixes that and also addresses the other issues in #24: migrate does the right thing, but `schema:dump` always dumps Ruby and `structure:dump` always dumps SQL.