Fix for Mantis #25605.

symtable.pas, search_objectpascal_helper:
  * handle more symbol types than just properties and methods; afterall helpers can have types, static variables and constants as well

+ added test

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27534 3ad0048d-3df7-0310-abae-a5850022a9f2