added check for required fields, cosmetics
Merge branch 'master' into pba

Conflicts:
	protoc-gen-c-iter