Put the definitions of marks in a single structure

This commit puts all what defines a mark (how to display, how to handle
targets, what action to apply, ...) in a single entry of a list. The list
is stored in a variable.
This should allow for customization of marks.

Eventually this should allow to have gmail-style refiling (changing tags) work using marks instead of custom actions.