Update settings.php

Further tweaks to work with both TeX and MathJax filters