add rake db:snapshot task which saves a copy of the database in the tmp directory