update code to current standards
Fix missing $pwdb in delete function
Add WPSC_Visitor class to make it more convenient to access visitors, primarily useful inside of WPEC or admin related plugins