move version extraction guts to its own file. NO FUNCTIONALITY CHANGES YET
these tests are entirely specific to version.pm, and therefore irrelevant here
extract version much more safely
fix taint tests