fix #377 Preload images not working for IE10.

Closes #378.
fix #379 TemplateCtxt.getDomId does not support integers.

Closes #380.
fix #361 for autocomplete freetext

Closes #362.
fix #349 maximizable Dialog service pack

Fixed issues with:
1. Dialog maximized from start
2. Resizing Dialog while maximized
3. Resizing viewport while Dialog maximized
4. Unmaximizing the Dialog after full section refresh

Additionally:
1. Perf and readability improvements (`changeProperty` vs
`setProperty`).
2. Test for destroying/creating Draggable/Resizable.

Apart from Dialog itself:
Improvement in TemplateTestCase::nextTest() so that
- stack trace doesn't grow with each test,
- failed test name is reported more accurately