ON SOME GRONWALL TYPE INTEGRAL INEQUALITIES AND THEIR APPLICATIONS