Moved code around so that it works also with j2.5

because FOFRendererJoomla is extended from FOFRenderAbstract and not from FOFRenderStrapper the submenu for the category view doesn't work with J2.5
Merge pull request #148 from rdeutz/staging

Moved code around so that it works also with j2.5