Add a comment briefly describing json_object_object_length()
Enable -Werror and fix a number of minor warnings that existed.