Added Synthetic objective to JSBML writer...

notes. Fixed bug with copying used map in undo/redo.