Updates from ShareLaTeX
Merge sharelatex-2014-12-09-1419 into master