Reorder imports.
Merge branch 'master' of https://github.com/juholehtonen/ckanext-rems
Update certificate paths, fix response handling.