Automatically generate SVG diagrams on import

This upates the CSV importer to automatically create and import
SVG diagrams for new molecules.

Change-Id: I2411ba5f55945de8dddd3f1182a50982bf0de39f