GEOS-5273 and GEOS-5707 for 2.3.x

Hi, 
this is a backport for version 2.3.x of a patch to disable entities evaluation for remote SLD files and WFS POST requests.