Add missing guards for properly clonsuming and closing HTTP streams in HttpRemoteRepo
upgrade to junit 4.10 to match the version used by geoserver
initial web-api integration tests for the GeoServer plugin