OC7 compatibility + code cleaned.
Merge branch 'master' of github.com:domcars0/files_latexeditor

Conflicts:
	ajax/compile.php
	js/latexeditor.js