Add bootstrapping code for Mockery

refs #4639
Extend session namespace tests

refs #4639
Remove uneccesary date_default_timezone_set calls

refs #4639
We do not want to use "@backupStaticAttributes enabled"

refs #4639
Convert existing mocks to Mockery-mocks (Part 1)

refs #4639