support for cookies, set by object, small fixes

Fixed a bug where reading a boolean false would instead return
"undefined" which seems to have come about from default overrides

Fixed a bug where delete would only remove sub nodes instead of specified
path

Added a config() method for toggling cookie usage