Use templates instead of jQuery in the Debug Commands extension

I moved the jQuery HTML creation to a Mustache template for both the performance data and the language switcher, making the code look a lot cleaner.