Initial split of internal and external api types.

I fear explicitly including v1beta1 is going to cause a lot of code duplication if we want to simultaneously serve v1beta2. I think it's possible to do it generically and confine the conversion code to the api package, see my other comment.