Added database object and its re-rendering
Added database object and its re-rendering

Mithril has to be manually told to
redraw, since update happens outside its purview.

Events and network ops should make redraw happen
automatically.

jussiarpalahti/notetapp,jussiarpalahti/notetapp