Alter GridView.php to allow for extending layout templates

Altered constants TEMPLATE_1 and TEMPLATE_2 to allow for custom layouts
in extended classes - altered to protected properties.

Use case: I wanted to extend to put the pager in the panel heading floated right. NB this also required a few css changes but couldn't just extend Gridview and just replace the template1 or template2.