create Spatialite metadata in one trans if possible

Spatialite 4.1.0 supports an argument to InitSpatialMetaData() to create
all the metadata within one transaction to speed up the operation
significantly on some systems. ticket #23152
ticket reference doesn't seem necessary