BUG pandas 0.15 compatibility in grouputils labels

fix pandas compatibility for Categorical.labels with pandas master and 0.15

this is a correction to #1884