[BZ-1138420] fix very inefficient algorithm to read a byte array from an InputStream
[DROOLS-493] allow using generics with modify in RHS
[BZ-1142914] implement serialization of CompositeMaxDurationTrigger
regenerated protobuf messages class
(cherry picked from commit 679366abfdada1a4268fdf03bbef54a78727a915)