show topics on home instead of replies

no template changes, instead of showing the latest x posts under
categories, we are now showing the latest x posts of the latest x
topics.
closes #1871
handle pinned topics
small fix
regFormEntry array
isMemberOfGroups fix