Make environment explicit on escript build
Ensure we can escape bitstrings, add Macro.validate/1
Do not allow invalid quoted expression to leak

Closes #2499
Do not raise conflicts on imports used from quotes, closes #2589