Moved calculation of the weights to commonlib
Fixed the case with IMT levels
Merge branch 'master' of github.com:gem/oq-engine into io-weights
Removed the pre_execute.py script, replaced by oq-lite check
Merge pull request #1588 from gem/io-weights

 Move the calculation of input/output weights into commonlib