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.