added support for pickling SwPriv objects in binary or base64.  improved swpriv documentation significantly.  fixed a few minor issues.
changed default getstate and setstate functions for SwPriv members encoding to be binary