PURGE $1 FROM ALL PRODUCTION CODE - fixes #70

All places which were using $1 have been replaced with lexical capture
variables (called $match). This fixes some additional situations which
were discovered with apps busted when started via plackup.

Also fixed a possible bug in the caching wrapper for colspec_test()