Save correct site url

there was a todo to check the site url during installation

second if you entered a invalid url in admin/settings/update_advanced you could break your site. Also if you changed the site url you would be forwarded to the wrong (old) url