Updating Alloy to 4a5c75c;LPS-34421,LPS-30784
Updating Alloy to 0eb0533; LPS-34421,LPS-30784
LPS-34503 - Clear menu buffer after menus have been loaded
LPS-34503 - Source formatting
LPS-30038 Template Editor displays the Velocity sample template even if other Language Type is selected

I've decided to solve this by reloading the page when the language is changed. That way not only the default script is loaded but also the palette, which was not being changed. It also makes any code that depends on the template that we may add in the future automatically reload. One important thing to note is that we need to detect the case when the user is just creating a template and before any save he changes the language. In that case we are using the undoManager to avoid sending the default text as if the user had entered it. That way it will be automatically replaced with the proper default script for the new chosen language.
LPS-30038 - Source formatting