[BZ-1153852] fix incremental compilation when using a drl with functions
[BZ-1153852] fix incremental compilation when adding a new function
StaticImports are copied into new package instance
Regression test for static imports in knowledge base