Rename msg:flags to msg:get_flags and add the other flag-related
CMessage methods to the Lua binding.