New options in aria.templates.ModuleCtrl.submitJsonRequest

This PR adds the ability to specify a timeout and headers when calling the `submitJsonRequest` method of a module controller.
I would just add a small description of the tests goals