1.6.5
feat #1298 change test page amabuild check

This fix modifies the way the test page checks if amadeus build has to be used or not.
Instead of analysing the request URL, a parameter is added ("amabuild").
close #1298
fix #1296 Movable dialog is not working inside a page with some scroll

This fix is restoring the right behave for the movable dialog even if the page has some scroll.
fix #1296 Updating test suite

Adding the test inside the movable test suite
Updated TodoMVC's URL
fix #1297 Resizable dialog is not working inside a page with some scroll

This fix is changing the way we set the position of the resizable overlay, using the real position of the element insted of its position inside the viewport.
fix #1306 - focus wrongly assigned when a popup is destroyed

a timeout was inserted in order to check if the focus has to be moved by the user click or has to be forced (in case no focusable element is clicked)

closes #1306
fix - missing the disposal of an object in a test
feat #1308 Removing support for the robot applet

Instead of the applet, it is now recommended to use the Selenium Java
Robot: https://github.com/ariatemplates/selenium-java-robot

close #1308
fix #1055 option stayed selected in Select after removal from options list

When `@aria:Select` options were bound to the data model,
and the currently selected option was removed from the option list
through the binding, it still remained as the data model value
of the widget (although no longer available in the UI).

Close #1218
Close #1309
fix #1312 increase timeout for slow tests (IE7/8)

timeout increased from 40s to 120ms for the following failing tests:
   *  test.aria.widgets.form.multiautocomplete.test11.MultiAutoInvalidDataModel
   *  test.aria.widgets.form.multiautocomplete.preselectAutofill.StrictTrueTest
   *  test.aria.widgets.form.multiautocomplete.preselectAutofill.AlwaysFalseTest
   *  test.aria.widgets.form.multiautocomplete.preselectAutofill.NoneTrueTest
   *  test.aria.widgets.form.multiautocomplete.preselectAutofill.NoneFalseTest
   *  test.aria.widgets.form.multiautocomplete.preselectAutofill.StrictTrueWithTabTest
   *  test.aria.widgets.form.multiautocomplete.preselectAutofill.AlwaysTrueTest

and specifically on IE7:
   *  test.aria.widgets.form.autocomplete.preselectAutofill.AlwaysTrueTest
   *  test.aria.widgets.form.datepicker.errorstate.DatePicker
   *  test.aria.widgets.form.textinput.onblur.OnBlurTest
   *  test.aria.widgets.form.selectbox.checkValue.MainTemplateTestCase
   *  test.aria.widgets.form.textinput.onclick.OnClickTest


close #1312
1.6.6
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
fix #1317 page engine disposal of PageConfigHelper

PageConfigHelper was instantiated but not disposed in the destructor.
the resolve() method of aria.utils.Path class had an inconsistency in description (doc) and implementation ("If not specified, window is used")
close #1317