added option to treat any warning as an error in the unit test script. added support for logfile generation even in gui mode for unittest.
added option to treat any warning as an error in the unit test script.
added support for logfile generation even in gui mode for unittest.

git-svn-id: cf55bc44fb097054a32fc70455a459c940dbbffc@7038 c9849af7-e679-4ec6-a44e-fc146a885bd3

crogers3/drake,scottviteri/drake,scottviteri/drake,thientu/drake,hanssusilo/drake,sheim/drake,hanssusilo/drake,crogers3/drake,crogers3/drake,hanssusilo/drake,manuelli/drake,edowson/drake,crogers3/drake,thientu/drake,thientu/drake,sheim/drake,edowson/drake,edowson/drake,hanssusilo/drake,manuelli/drake,crogers3/drake,astrorog/drake,psiorx/drake,scottviteri/drake,crogers3/drake,billhoffman/drake,astrorog/drake,tkoolen/drake,crogers3/drake,edowson/drake,tkoolen/drake,psiorx/drake,crogers3/drake,thientu/drake,sheim/drake,tkoolen/drake,psiorx/drake,scottviteri/drake,psiorx/drake,tkoolen/drake,hanssusilo/drake,astrorog/drake,astrorog/drake,manuelli/drake,manuelli/drake,manuelli/drake,thientu/drake,billhoffman/drake,sheim/drake,tkoolen/drake,edowson/drake,billhoffman/drake,edowson/drake,psiorx/drake,hanssusilo/drake,scottviteri/drake,billhoffman/drake,scottviteri/drake,hanssusilo/drake,hanssusilo/drake,billhoffman/drake,astrorog/drake,astrorog/drake,psiorx/drake,thientu/drake,sheim/drake,billhoffman/drake,sheim/drake,manuelli/drake,tkoolen/drake,sheim/drake,astrorog/drake,edowson/drake,edowson/drake,manuelli/drake,sheim/drake,psiorx/drake,thientu/drake,billhoffman/drake,psiorx/drake,billhoffman/drake,scottviteri/drake,tkoolen/drake