create/drop test and development databases only if RAILS_ENV is nil

Closes #13625
Merge pull request #13629 from dmathieu/drop_test

Be more explicit about the default of db:drop and db:create