Support default Pundint policy class.

basic form @seban on #3323, with changes from @timoschilling