Issue 2647 fixed.
_include.js modified and issue 2647 fixed.
Changes made.
Add the isNull, isString, and isUndefined checks to _include.js

* Add unit tests for isNull and isUndefined
* remove the _ from is_Undefined and is_Null
Add tests for loggedInUser type when calling navigator.id.watch
Clean up the tests slightly
Merge pull request #3979 from shane-tomlinson/issue2647

Issue2647

A pleasure working through this with you, @mohit-agarwal! Thank you very much for the contribution! 

r+
a stateless "goldilocks" api

keeps current watch() api, but makes it "stateless" if RP doesn't want
session management. to indicate this, simply don't pass an `onlogout`
handler to watch().

navigator.id.watch({ onlogin: function(assertion) {} });
navigator.id.request(optionsAsNormal);
add a goldilocks page for example rp

since goldilocks will be the default api that we recommend using, making
that the index.html