Added unpack_if=.. to fields in buffer
improved compat layer between buffer and struct
added more asserts/checks
- added min_ref and max_ref
- added input_buffer_length to support optional fields (used with unpack_if=...)
added pack_if=... to fields
Finished release v0.6.18.