Set wm class and name with -name
Add Vim modeline for dunstrc.

With this modeline, the dunstrc gets syntax highlighting in vim by
default.
Merge pull request #178 from Necoro/modeline

Add Vim modeline for dunstrc.
Merge pull request #167 from badosu/add-name-setting

Set wm class and name
fix invalid free

Thanks To DaveDavenport
Use sanitized variable instead of settings value
config for max history length

fix #177
add new history_length option to example dunstrc
Abort build if config.h needs to be updated

close #179

Thanks progandy