Big refactoring to jscssheaders.php

No more redundant code. SSL is handled dynamically by using // URIs and a variable for special exceptions (MathJax). This SHOULD work perfectly - proper testing by someone else is expected though.
Merge pull request #98 from Robertof/patch-headers

Refactor jscssheaders