winsane: Added extern "C" linkage-specification to sane.h
winsane: Pass session object into option objects
winsane: Added Authorize public API function to WINSANE_Session
winsane: Try to authorize the RPC using the given resource