add Reveal.getConfig(), replace use of window.globals (#98)