Added test for DROOLS-66.

Added test verifying https://issues.jboss.org/browse/DROOLS-66 (and related BZ 913252). Enhanced org.drools.io.impl.UrlResource to allow more convenient testing.