Change in group() method to use internal where

group() method uses now the internal where() method of the model that stores all the where filters instead using the DB CI library.
Merge pull request #581 from Patroklo/2

Change in group() method to use internal where