fixed activity stream speed issue

fixed activity stream speed issue, Following files has been changed, All changes are commented in GIT commit
1) components/site/helpers/helper.php
2) plugins/ext_jomsocial3.1/helper.php
3) plugins/ext_jomsocial3.1/wall.php