Fixes #6143 - Mocks session for ElggEntityTest
Merge pull request #6144 from Srokap/ticket_6143

Fixes #6143 - Mocks session for ElggEntityTest
Added missing version info to @deprecated stub