Add certificate names as global variables

Now uses global env variables instead of hard-coded values
Add TestFlight distro branch as global variable
Add xctool configuration flags as global variables