Added preliminary serialization calls.
Merge branch 'serialize'
Flowcharts can be sent to and retrieved from Mongo
Charts can now be saved and loaded.