[ticket/12883] Do not use basename() to get the search class in tidy_search

https://tracker.phpbb.com/browse/PHPBB3-12883

PHPBB3-12883
Let's just also merge this into the line below and remove the pointless comment?