fix #1314 disable robot for Firefox 3.6
fix #1307 Dialog onClose callback

This fix adds the possibility to call a callback everytime the Dialog widget is closed.
fix #1315 preserve amabuild in URL on test.htm

If someone opens a page test.htm?amabuild=true and types the classpath, the amabuild param
is not preserved. This commit fixes that issue
fix #1313 template error in _onTplLoad

If the disposal of a template is called before its loading, the _onTplLoad method could still access some not-disposed objects.
For this reason, the protected `_deleteTplcfg` method of `aria.widgets.Template` has been shared with and used by `aria.html.Template` through the class `aria.templates.TemplateTrait`

close #1313
refactor Remove unused imports

With the conversion with at-noder-converter, some unused require's
were added to the code (requires that do not save the required module
to a variable). They can be removed.

Note however that there are still some require's not saved into
a variable in the code which are still needed. They are mostly:

- requires of cfg beans
- requires of filters

This is because cfg beans and filters are passed to certain methods by
their string classpath, and not by object reference.

Close #1293.
fix #1319 resource provider mistakenly disposed on class unload

If a template class is associated to a template script which uses a
resource provider, the resource provider is mistakenly disposed when
unloading the template class (even if the template script is still
loaded).
This is an issue especially in some skin reloads scenarios, in which
the template script is not reloaded while the template class is reloaded,
which leads to a situation in which the reloaded template can no longer
use the resource provider which was mistakenly disposed.
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