Move gdm_slave_run_script to common code

We're going to move the code that runs Init to gdm-server.c and
the code that runs PostLogin / PreSession to gdm-session-worker.c

https://bugzilla.gnome.org/show_bug.cgi?id=726380