Add rebaked counter to cookie

Cookies have a rebaked counter, to limit how many times they can be extended.

CookieBaker increments the rebake count each time a cookie is baked.