DUNE/Status: Added database error status.
Plan/Engine: Setting database error status when failed to open.
DUNE/Maneuvers: Added method in MementoTable to uncast all parameters.
DUNE/Maneuvers: Uncasting all memento table parameters before writing tuples.