Set flash messages in create and edit actions only if it's not an Ajax request
Merge pull request #1106 from to0om/crud_ajax_flash_bugfix

Set flash messages in create and edit actions only if it's not an Ajax request