Added database setup script, document deletion, fixed a bug that duplicated new documents, and started investigating using ck-editor over markitup