Added test for failing demo
Wrapped entire script in IIFE.  Cleaned up jshint lint warnings.  Added a few comments in sticky state src.  Added $$state function to get internal state from public self state.  Guarded $log.debug output with if (DEBUG).  Removed some usages of for (var in obj).  Added enableDebug function to provider.  Fixed mapInactives to copy children-to-root state inactives to the __inactives entry as well.  Fixed map function to also use index (for array idx, or object attribute name).

Modified testGo test harness for easier usage.  Added 'inactive views' testing to testGo test harness.

Fixes #4 , #5 , #6 , #9