Provide Mix.raise/1 that attaches mix info to Mix exceptions

Closes #1744
Define Mix.Config
Use new Mix.Config in generated files
Improve formatting