Fix error checking in import-RESTfeed.
Fix externaldiff restriction.
Fix team remapping bug while importing from Kattis.
Merge branch 'ICPC-live' of https://github.com/DOMjudge/domjudge into ICPC-live