(import_mapfile): Changed the code for setting the extent in thuban. Now the extent is set to the given extent from the mapfile. Fixed a logical mistake. Now the extent is set when realy a layer is loaded, and not if one is selected to load.