Centralize deployment target

- Set the deployment target at the project level instead of at the
 target level. This mimics the behavior of Xcode.
- Configure the deployment target with ProjectConfiguration.
- Use the deployment target information to populate values inside
 templates.