Fix formatter unit tests. Added `trac.test.MockPerm` for mocking the permission
cache.
Authored by: athomas 2007-05-30
Parent: [r5550]
Child: [r5552]