Backported annotation event dispatcher enhancements to 6.x branch.
Merge pull request #310 from ageery/wicket-6.x

[annotationeventdispatcher] Backported annotation event dispatcher enhancements to 6.x branch.