Improvements to activity stream body helper (Bug #1328760)

Change-Id: Ie1c127c1677efef5ce3d48f2b187f91fc60837cb
Signed-off-by: Nathan Lewis <nathan.lewis@totaralms.com>
Merge "Improvements to activity stream body helper (Bug #1328760)"