Add the 'type' field to the 'entry' dictionary

The 'type' field enables customisation based on the type of entry (by
means of CSS class names or JavaScript snippets, for example).