Use correct icon/name when adding a new block

When adding a new block to the pag, use the correct icon/name instead of
the generic "Content".

Bonus: some minor fixes (now jshint runs without warnings on edit_mode.js)
Merge pull request #154 from mlocati/use-blocktype-icon-name

Use correct icon/name when adding a new block