WIP: Set uid during object create

Still need to add some unit tests.

Suggestion: make a function which fills in an ObjectMeta with all the fields a server should set; call this function in all these places. Not sure where to put the function.

We should probably make an integration test that verifies that these get set for all POSTed objects.