added check for PROTOBUF_C_TYPE_BYTES fields, including repeated

- also added check that repeated fields vectors are not NULL
- fixed repeated field quantity type: it's "size_t", not "unsigned"
- cleaner code, no cast porn
- all covered with tests