Fixed unittest
Speedup the video activity tab

Reduced number of DB queries for the tab and also cache the results.