use correct (bad) spelling of ApiController
add support for SearchIndexError

for RemoteCKAN and TestAppCKAN this assumes https://github.com/okfn/ckan/pull/836 gets merged