Updates from ShareLaTeX
Merge sharelatex-2014-11-21-0841 into master