Remove QtAlgorithms usage from QtScript.

QtAlgorithms is getting deprecated,
see http://www.mail-archive.com/development@qt-project.org/msg01603.html

Change-Id: If4dc8f69fd75315390a4850be732715064f5fdd8
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Revert "Skip failing qscriptengine tests on Windows."

This reverts commit eff4a0f3fca2e22d4be888cdd7953e1c2ab8c918. That
commit disabled a test that had a legitimate failure, caused by a
QDateTime regression. Said regression was fixed by qtbase commit
475cbed2446d0e3595e7b8ab71dcbc1ae5f59bcf.

Change-Id: I1212dc8414d5a0d8d87bbe2e2a667475fd30414c
Reviewed-by: John Layt <jlayt@kde.org>
Autotest: Fix unexpected rounding of floating point in date tests

QString("new Date(%0)").arg(1380318500 * 1000.0) expands to "new
Date(1.38032e+12)". That's an unnecessary rounding and cuts off
interesting bits out of the date.

It took me quite a while debugging QScriptEngine trying to find out
why the time_t and the JS Date internal numbers were different.

Change-Id: Id880f3f11edd0af07e1726eac0242d4a9625c368
Reviewed-by: John Layt <jlayt@kde.org>
Doc: Adding "\inmodule QtScript" to Qt Script classes.

-reduces QDoc warnings
-lists the classes in the C++ pages

Change-Id: I97db6b8bec4d44d1ee37ed2925ef7309cd0d420f
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
WS fix in qscriptcontext.cpp

-produced by git-split-ws

Change-Id: I1661678174c62971a7bbf4acb2890fdf590d2f3d
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: Iffa749d9e01fe4fd178a60a3debeae06a7693c4c