add different notification modes (never, only monitored buffers, all)

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
fix highlighting

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
Fix all highlighting modes

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
Merge branch 'master' into better-notifications

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
supply date and buffer-name to notification handler

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
fix indent

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
Move tests to their own file

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
Merge branch 'master' into better-notifications

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>

Conflicts:
	weechat.el
(M): Fix "Unused lexical argument `text'".

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>