Resetting $msgOutputLevel on shutdown.

Fixes the problem described in Ticket #1147 (http://www.phing.info/trac/ticket/1147)