[WIP] Add option to cancel a build

this is a rough draft, I'm actively working on it.. so it may throw errors and it may have dirty code.

   - Add cancelling and cancelled status for builds
   - Remove pod and update builds to cancelled when a cancel event was triggered for the build
That's fine.


> On Dec 1, 2014, at 8:06 AM, Maria Niță <notifications@github.com> wrote:
> 
> In pkg/build/api/types.go:
> 
> > @@ -18,6 +18,9 @@ type Build struct {
> >  
> >  	// PodName is the name of the pod that is used to execute the build
> >  	PodName string `json:"podName,omitempty" yaml:"podName,omitempty"`
> > +
> > +	// Cancelling describes if a cancelling event was triggered for the build.
> > +	Cancelling bool `json:"cancelFlag,omitempty" yaml:"cancelFlag,omitempty"`
> I will use the 2 l version aka British version, because we saw Kubernetes use it this way, if it's ok with you also.
> 
> —
> Reply to this email directly or view it on GitHub.
>