Fix some minor bugs

- AjaxGrid throws error
- Some field definitions are missed in setup sql file
- ImageSlider plugin should include slider script to page only when there's at least one slider widget in the page