Added replace method.
SubnetBuilder replace method can replace one-output subnet with another one output subnet (called rhs).
Method requires rhs and mapping from rhs PIs and PO indexes to original subnet cells indexes (bounds of replacing).
In current version method can be called only for subnets with maximum cells arity == 5.