Add to the ruptures a reference to the source that generated them and a tag attribute

See https://bugs.launchpad.net/oq-engine/+bug/1223362

The reference to the source is important to make the engine able to build the correct tag from the ruptures generated by hazardlib. See the companion PR on the engine side: