Move ask page similar questions into theme

Plus new function q_title_list for generic list of question titles.
qa-ajax-asktitle coding style
Refactor qa_html_theme_base for PHP 5
Refactor various classes for PHP 5

Add public/private etc.
Refactor plugin classes for PHP 5