BZ1075293  KnowledgeAgent doesn't update kbase in Windows
- Windows fails to rename when a target file exists
[BZ-1072528] catch and manage exceptions thrown while applying a ChangeSet
Merge pull request #322 from tkobayas/bz1075293

BZ1075293  KnowledgeAgent doesn't update kbase in Windows
[BZ-1066199] ensure stream close on UrlResource.cacheStream()
[BZ-1081848] prevent KAgent to rebuild kbase from cached files when Guvnor is down and a client restarts
[BZ-1072217] rewrite or constraints when necessary
BZ-1093174: backporting the fix for [DROOLS-71] Prevent NPE when there is a null value in a list used by a from element
(cherry picked from commit 3c66d62270d343a573748d1d5850ca2054e99917)

Conflicts:

	drools-compiler/src/test/java/org/drools/integrationtests/MiscTest2.java