Refactoring Action template into sub templates + code cleanup + bug fixes
JS reorganization for activity feeds
JS reorg for actstream