FIX Fixes silverstripe/silverstripe-cms#945 GridField sorting.

- Ensures magnifying icon only shows when required.
- Also fixes silverstripe/silverstripe-cms#810 (@chillu comment).
- Also fixes #1492