Add deployment script (shamelessly ripped of qt creator boilerplate)