Add a postinst script to chmod the message cache

Add a postinst which creates the message cache if it doesn't exist,
and sets its permissions appropriately.  (Yes, it really does want
to be 0666) (Trac: #1459)