Fix fullscreen API usage

document.fullscreenEnabled only communicates whether fullscreen
capability is available, not whether fullscreen mode is active. Fix this
misunderstanding and improve compatibility with emerging fullscreen
standard and variants.
Merge pull request #4 from NVIDIA/fix-fullscreen

Fix fullscreen API usage