Add initial batch job support.

Change-Id: Ib3c94eb073c9f4a94af010f37b90edfec7be6c58
Merge branch 'master' into input-generation

Change-Id: I1ed2d60dd8d22dc14308cc9ad37cc597df9801bc
Port batch job to Qt 5/new Avogadro 2 code

Change-Id: I5d07da31b88ec7882c9a70fa654384175ba8026e
Merge branch 'input-generation'

Change-Id: I541b9ac75040623e07801958e562d84e62c800d4