replace perlstring with quotify

Instead of duplicating perlstring in multiple places, just keep it in
Sub::Quote as a public 'quotify' sub.
handle undefs directly in quotify instead of being strictly compatible with perlstring