Removed booltostr() (no longer needed by the configuration function). Added patchmodule and restoremodule which provide an cleaner interface for patching/restoring all of the API imports for a module at once. Couple other minor fixes and changes.
Removed booltostr() (no longer needed by the configuration function). Added patchmodule and restoremodule which provide an cleaner interface for patching/restoring all of the API imports for a module at once. Couple other minor fixes and changes.

zcnet4/vld,ioannis-e/vld,erdincay/vld,zcnet4/vld,akaStiX/vld,ioannis-e/vld,dmoulding/vld,dmoulding/vld,slideclick/vld,KindDragon/vld,slideclick/vld,KindDragon/vld,smanders/vld,akaStiX/vld,erdincay/vld,smanders/vld