Add xio_query_session.

Permit user code to query exported attributes a session
using its xio_session handle.  The implementation follows
the pattern of xio_query_context and xio_query_connection,
since xio_session is also opaque.

Add uri to exported attributes.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>