PackedEditor: implemented some basic funcitons, added editor.js, updated editor.html and editor.css
PackedEditor: fixed a typo
lib/misc.js: added deep_copy_object()
PackedEditor: addBlock() is now using deep_copy_object()