Fix #169: Allow to setup AJAX request type for CListView and CGridView

Fix #169: Allow to setup AJAX request type for CListView and CGridView
Migrated from #2361

This should be acceptable compromise, allowing to resolve #169 without major changes.