Grid selection changed

Added Function called onRowSelectionChange() to Grid.js which is called when a grid row is selected or deselected, added a sample to demonstrate the use of this function. Also Fixed a bug in the File Grid Action Class and a bug in _TemplatedWidget