Fixed save in iter lists acress compiling subq
Fixed issue with invariant preds

Do not place invariant preds twice for plans that start the same
way, keep in ot whether the inv is placed and reset when in fact
unplacing
Added export certificates pub key as DER
Fixed issue with deadlock on some DETs