Refactor build config to use triggers

Add triggers to build configs, similar to triggers on deployment configs
Don't use nil to check presence - return `(*api.BuildTriggerPolicy, bool)` and check the bool for presence.