Added parameter checking with helpful error messages. API-Search-Foods specs complete.