Added replace variable.

I've added the ability to specify whether the build should be replaced on TestFlight.
Let me know if I need to make any other changes. I've tested this and it works.
Existing configurations should function as they previously did.