Support little/big endian mod-lua byte methods.
Support lua function "bytes.get_var_int()"
Add bytes set_var_int() and append_var_int().
Fix mac compiler warning.