Adding support for chef_gem wihch is available for newer versions of chef

Adding forwards compatibility support for installing "mongo" gem via chef_gem. The cookbook could sometimes error with later versions of chef as the gem was not being installed correctly.