Fix bugs in adminIndex template
PrivacyManager converted to twig
DBStats plugin converted to twig
loadJavascript is now a safe function
Finished PrivacyManager conversion
Removed dependency to Smarty
Converted HTML report templates to twig