drop pre-2.7 compatibility

initial bits, more cruft will be dropped when found.
drop fromurl()

no longer part of the API.
move the patch code in a separate script

the patchlib module now contains only library code.