Rename swc_container_of -> CONTAINER_OF

It is a macro so follow the convention of all caps.
util: Add missing include for stdlib.h

Required for NULL
xkb: Make keymap_file_template static
Add beginnings of public API
Move binding handling to binding.c and add to public API
Style
output: Support protocol version 2
Use protocol/ for including protocol headers
Update .gitignore