Add Open, Save and Close Document functionality

Create a table for Documents with columns name:string and data:json. Use this to open, save and close document in CODAP.