Optimizations and refactoring for 2.20

I got another 5 patches, which combined cuts the "use autodie" time by another factor 4 (on top of the factor 2 improvement we got in 2.18) on the benchmark.pl case.  The major speed improvement is obtained by making autodie lazy (commit ed7c623), so consumers will now only pay for what they use.