fixes to migration scripts
Merge branch 'geocat_searchui_develop' of github.com:camptocamp/geocat into geocat_searchui_develop
several minor fixes for harvester.

* Fix delete history of a harvester when there are many many records (hundreds)
* Better error reporting when a operation doesn't exist
Merge branch 'geocat_searchui_develop' of github.com:camptocamp/geocat into geocat_searchui_develop