Fixed BNF generation on zbroker messages

- has to set default IDs
Security fixes
Fixed build errors in skeleton