Fix phx.gen.release ecto_sql check (#4796)
Fix phx.gen.release ecto_sql check (#4796)

Sometimes in a project where everything is already compiled, The
`mix phx.gen.release` task cannot correctly detect if ecto_sql is
already installed or not. This is because the ecto_sql is in fact not
loaded yet. To resolve this we can either try to load ecto_sql using
`Application.load(:ecto_sql)` before fetching the loaded apps or simply
use the `Mix.Project.deps_apps` to see if `ecto_sql` is there.

This commit implemented the latter.
rafbgarcia/phoenix,optikfluffel/phoenix,optikfluffel/phoenix,0x00evil/phoenix,phoenixframework/phoenix,phoenixframework/phoenix,rafbgarcia/phoenix,phoenixframework/phoenix,optikfluffel/phoenix,0x00evil/phoenix,rafbgarcia/phoenix,0x00evil/phoenix