Commons library for OpenQuake libraries and application