Address several problems with URLs for Grid Cronks

* Cronks were not opened when some parameters are empty
* filterdata gets not parsed correctly when empty
* backend tries to apply grouping when non grouped view
  solved by seperate sort params

fixes #4828
Disabled debugging output with console.log

fixes #4864