Some refactoring of ebrisk
Some refactoring of ebrisk


Former-commit-id: 5e4446216b2c4c433c3889061ffb9509ab25537e [formerly 220b58b6d995e0fc82af02cf8a48c03ec46714e3]
Former-commit-id: aa6ac3249fd65017eef2bb37b69b0afce4dedc86
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine