Generate and save schema for shards

Similar to https://github.com/Shopify/rails_parallel/pull/1. Uses database.yml to get shard names instead of hard coding