Import latest changes from mother_brain
Import (meld) from mother_brain.

Added classes ftp, cookies, json_response, magic_cache and scripts/polyfills/*

Updated classes login, session, simple_date and functions.php
Modified to use json_response class instead of function.
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'
Added check_nonce() & require_login()
check_nonce immediately if $_POST[form]

Removed all other nonce checking code
Hide buttons and chage attributes instead of reloading them