using constructor, added property

Using constructor to prototype instead of Document/HTMLDocument.
Added property to the document variable if we are using a custom
fullscreen impl.
Updated nuget package