toolserver updater: separate finalization in a different sql file to be executed when the import has been checked.

Change-Id: I71717ff0e6dad0ecb6c6f9e34593004aadd04a2c