fixed: exception when min_states / max_states not set
FIX: apply rewriting of application/hostname also when cancelling events

Conflicts:
	mkeventd/bin/mkeventd