[DROOLS-44] when collecting declarations for a given scope skip the ones coming from an OR branch
(cherry picked from commit a61c41aca0561ccd67d55463c5e5b960de1be3ad)
[DROOLS-44] add more test cases to check declarations scope using ORs
[DROOLS-44] make eval using only the required declarations instead of all the available ones
[DROOLS-39] report constraints jitting failures as warnings
fix KieBuilder when converting files from external formats
DROOLS-46: fixing kbuilder attach to an existing kbase
(cherry picked from commit 8d50302f22543a847c2cb248a8fd624f732df7bf)

Conflicts:

	drools-compiler/src/test/java/org/drools/integrationtests/DynamicRulesTest.java
	drools-core/src/main/java/org/drools/common/AbstractRuleBase.java
(cherry picked from commit ce10282eb0001d72e61e5d420db8b2ec433a56dc)

Conflicts:

	drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaDialect.java
(cherry picked from commit 7532bf3bff228772ffc43c64b9656b6a0def1393)

Conflicts:

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