[knot] add missing variable initialization, remove unused variables left from testing code, use objects instead of object ids for drmResourceCombination struct, adapt and improve drmResourceCombination initialization, set first active combination as drmResource
fix faulty variable scope