BZ1034588 : stale local cache file in UrlResource
(cherry picked from commit fe42528c978e78d94857db030db74c172766429e)

Conflicts:

	drools-core/src/main/java/org/drools/io/impl/UrlResource.java
[BZ-1050308] avoid to use mvel dynamic optimization
BZ-1044529 Memory leak (caused by kbase.getStatefulKnowledgeSessions()) (cherry picked from commit 4304d2305e4e15693613c1d9ad00147772a1ac9b)
[BZ-1035338] add timeout for UrlConnection in UrlResource
[BZ-1044577] implement CommandBasedWorkingMemoryEntryPoint
[BZ-1044577] don't allow to call fireUntilHalt on a persisted session