add .idea and .iml to ignore
[#41334551] be able to handle as many ENROLLMENTS_SHARD_XXX_URL configurations as we want, and rewrite the database.yml accordingly