add dialog to raw cell toolbar
set cell_type properly first-class in the Cell object

- in toJSON
- don't clobber existing value in Cell constructor
fix Python mime-type
propagate raw_mimetype to nbconvert