[ticket/12726] Add Code Sniffer sniff ensuring PHP files do not contain any unused use statements

https://tracker.phpbb.com/browse/PHPBB3-12726
the current sniff only check the functions, not the control structures