Properly handle compilation errors in Erlang compiler
Merge pull request #2684 from alco/mix-compile-erlang

Properly handle compilation errors in Erlang compiler
Only add :elixir application for Elixir projects in compile.app task
Support building Erlang-based escripts in mix escript.build