Implement use warnings switch

This also brings in pull request #3 (https://github.com/jonswar/perl-HTML-Mason/pull/3) since it was needed to be able to test this at all.