TreeEntry: MaxSize precondition
This MR introduces a precondition check for maximum tree entry size. If it's bigger, an error is returned. Would be great to have this so that gitlab-kas
does not need to start downloading a file to see if it's too big (Size
field in response).