Update grid.base.js

Implementation dynamic autodetection of input JSON format corresponds with [the suggestion](http://www.trirand.com/blog/?page_id=393/feature-request/autodetection-of-input-json-format/).
Merge pull request #439 from OlegKi/master

autodetection of input JSON format (dynamic jsonReader)