Adding the option grant_option for MySQL.

Here is a rebased patch for ticket COOK-1709