Add Edit Notebook Metadata to Edit menu

Moved the raw-edit dialog to IPython.dialog so it can be reused.