correction in spatialiteUpdateLayerStatistics. Added logmessages fro recovery modus.

Signed-off-by: Andrea Antonello (PIT) <andrea.antonello@gmail.com>
cleanup refactoring