Fixing cell_type in CodeCell constructor.

This was causing the cell_type to be null for CodeCells, which
broke the cell type dropdown in the toolbar.
Merge pull request #4566 from ellisonbg/cell-type-fix

Fixing cell_type in CodeCell constructor.