Filter only active attributes in gridview

When we do not want an attribute to be searched we do not define it in
the filter model, or mark it inctive in the scenario when we use the
original model.
GridView should not try to access the attribute then and automatically
not display the filter field.
Merge pull request #972 from cebe/grid-filter-only-active

Filter only active attributes in gridview