Fixing assembly

- shade minimization doesn't work, as jmol and log4j use reflection too much
- shade should run before assembly
- updating to shade 2.2
Improving XML output, as suggested by dmyersturnbull