Bug 914531 - Add sessionCapabilities function for getting the capabilities of the current session.

r=auswerk