Import from mother_brain.

Check if defined before defining in functions.php
Corrected missing "," for Gnome Typewriter in fonts.css
Added polyfills.js which uses mod_include module
Merge tag '2014-05-21'

Update from mother_brain
Import from mother_brain
Added session and local Storage, console.error and log
If not nonce in sessionStorage, get it from server and save it.
Added menu for Account (Login and Logout)
Handle Login and Logout, and return $session->nonce when requested
Merge branch 'dev'