Polishing
(cherry picked from commit 6fef8b9)
Servlet 3 multipart request implements getParameterMap defensively as well

Issue: SPR-11074
(cherry picked from commit c7d1c49)