Change get_param methods so that they return c_ints

This allows their return values to be compared with glfw constants without casting
Update examples to use the boolean constants