WICKET-5677 add onReAdd to Component

Minor cleanups. No functional changes!
WICKET-5710 StringValidator should set 'minlength' attribute to input and textarea