feat #1316 New options in aria.templates.ModuleCtrl.submitJsonRequest

Adds the ability to specify a timeout and headers when calling the
submitJsonRequest method of a module controller.

close #1316