fixed: Length of guest usernames not checked, refs #836

* newreply.php
  * added username validation for preview
*newthread.php
  * added username validation like in newreply.php