Geoadmin: added option to save location imports as sql script

(cherry picked from commit 2cece2c75d8ed5f63008883e188b4dfbf0b6232c)