Stats only

Added a configuration parameter stats_only for the case when the user is interested only on means and quantiles and does not want to save the individual hazard curves (https://bugs.launchpad.net/oq-engine/+bug/1319248). This pull requests also rewrite the configuration/validation mechanism and solves