[Extensions/Runtime] Pass runtime variables to the extension process

This allows exporting things like the currently-running application ID to
the extension process.
[Extensions] Add interface to query runtime variable
[Extension] Add Runtime interface test
[XESh] Fix XESh build after adding Runtime interface
Merge pull request #1544 from lpereira/get-app-info

Add interface to query runtime variables from the extension process