Squashed 'towtruck/libs/whrandom/' content from commit d15f679

git-subtree-dir: towtruck/libs/whrandom
git-subtree-split: d15f67943536ca967dc359ef8e5d2fa5a64a6651
Merge commit '732ce64743369ec5b16a003ed469dd867f6e14df' as 'towtruck/libs/whrandom'
Merge branch 'release/v0.4a' into develop
FIX: fixed typo on session close (document.removeListener should be document.removeEventListener)
Merge pull request #598 from rpl/fix/remove-listener-on-close-typo

FIX: fixed typo on session close
updating the Edit Avatar
adjusted the Edit Avatar in the walkthrough
Merge branch 'develop' of github.com:mozilla/towtruck into develop
adjust requirejs command some
Fix requirejs namespaced building.  Update require.js to 2.1.8.
update doctest.js
Change Class so it accepts classMethods, and so that obj.constructor points to the class object, not the constructor function (which is obj.prototype.constructor); allows instanceof checks
Partial OT work.  Related to #5.
Merge branch 'master' of github.com:mozilla/towtruck into develop
Remove unnecessary second import of ui module
Fully implement requirejs compilation (but not minimization), including namespacing.  Fix #425, and should fix #409
Don't call jQuery.noConflict when using towtruckPackage.js
Add another fix for namespacing
Fix #69, move TowTruck initialization as far up in the page load as we can.
Fix problem where sometimes ui.container would be referenced before it was created, due to our more aggressive loading.  This defers some methods until that variable is set.