Rename state_machine_spec to state_machine_builder_spec
Add test for generated parsing C code
Move generic C code-generation functions into separate module