fixed #7018 : Hostname validator used disallowed unicode code points

fixes #7018

 - also removed error suppression if this kind of error should appear
 - CS fixes

see zendframework/zf1#322 and zendframework/zf1#472