Open postgres connections lazily

Tasks `ecto.create` and `ecto.drop` do not work when connections are
open to the database.
Start application before running tasks