Use JSON+localStorage for graph clipboard

Addresses #57