Update src/js/Storage.js

Functions to save to file (in debug mode),
 create/save tree/summary of mindmap
encode all text in mindmap.