Upgrade XML_Parser and XML_Serializer in api module to latest versions

Silences some annoying warnings.
Add use strict and some missing semicolons to JS
Reformat tree table JS
Update phMagick to latest version
Add SCSS files
Add scssphp and remove smart optimizer
Add compiled CSS files
Minify third-party CSS files
Move Java and Python source files out of web accessible locations