Added checks for bogus Callback configuration in service definitions.

Also introduced a way for processing errors to result in compile errors when
running the code generator.