Allow --app flag to be based on mix new

Addressing https://github.com/elixir-lang/elixir/issues/2546