Make global JXT instance accessible outside of index.js

Provide bindings for getDefinition and getExtensions
Merge pull request #3 from mironov-nsk/global-jxt

Make global JXT instance accessible outside of index.js