Rheology of Cohesive Granular Media: Shear Banding, Hysteresis, and Nonlocal Effects