Use built-in camelcase_name method for generated field names
Make test code use proto3 syntax
Cleanup generator code