BZ1147099: Rule Templates: Unable to define in default package and import class
[BZ-1164199] remove an expiration job related to an EventFactHandle that has been explictly retracted
Merge branch 'master' of github.com:droolsjbpm/drools
Adding polling interval to the scanner.

(cherry picked from commit 1bf7a728486974fe529af9ba93ca5728f1195196)
[BZ-1161577] avoid looking for existing snapshot version in maven repo during compilation
[DROOLS-620] fix execution of a timed rule consequence
BZ1147099: Rule Templates: Unable to define in default package and import class. More tests.
[DROOLS-648] avoid hitting the ClassLoader from the ClassFieldAccessorCache when non strictly necessary
avoid adding duplicates into transaction sycnhronization container to protect from concurrent modification exceptions
minor refactor and performance improvement
avoid concurrent modification exceptions in edge cases by using copy of synchronizations