Introduce jquery formvalidator for com_templates

#### Executive summary

This PR converts the form validation on com_templates to use plain jquery (no mootools call on every form