Added (untested) social media toggles
Starting working on tests
Cleared out global variables
Fixed read-mores and notification dismissal after reloading session
Privatized various methods and variables

Also some rearranging, renaming, and adding of missing semicolons
Made JSHint happy

(when it's not checking for undefined / unused variables)
Fixed session loading
Handle missing authentication tokens in API
Merge branch 'hotfix-missing-tokens-in-session' into dev
Merge branch 'feature-jscleanup' into dev
Display more descriptive error messages
Merge branch 'feature-mediabuttons' into dev

Conflicts:
	static/js/dash.js
	static/js/templates-src/reblog.html
	static/js/templates/reblog.js
Made sharing buttons user-configurable