Fixed some function tests; start working on porting them to Selenium2 interface
(cherry picked from commit 5d9f6fc77131d75e6c73a7e57df8d967b6b09215)

Conflicts:
	tests/FunctionalTests/validators/tests/DatePickerTestCase.php
Happy 2014!
(cherry picked from commit 7915cde127eba2a5143fd45c6b32e81ad91bdfae)

Conflicts:
	framework/Data/Common/Mssql/TMssqlMetaData.php
	framework/Data/Common/Mysql/TMysqlMetaData.php
	framework/Data/Common/Oracle/TOracleMetaData.php
	framework/Data/Common/Pgsql/TPgsqlMetaData.php
	framework/Data/Common/Sqlite/TSqliteMetaData.php
	framework/Data/Common/TDbMetaData.php
	framework/Web/UI/ActiveControls/TCallbackClientScript.php
	framework/Web/UI/JuiControls/TJuiAutoComplete.php
	framework/Web/UI/JuiControls/TJuiControlAdapter.php
	framework/Web/UI/JuiControls/TJuiDraggable.php
	framework/Web/UI/JuiControls/TJuiDroppable.php
	framework/Web/UI/JuiControls/TJuiResizable.php
	framework/Web/UI/JuiControls/TJuiSelectable.php
	framework/Web/UI/JuiControls/TJuiSortable.php
	framework/Wsat/TWsatARGenerator.php
	framework/Wsat/TWsatService.php
	framework/Wsat/pages/TWsatGenerateAR.php
	framework/Wsat/pages/TWsatHome.php
	framework/Wsat/pages/TWsatLogin.php
	framework/Wsat/pages/TWsatScaffolding.php
Removed all @version $Id comments: they were managed by svn and are useless with git
(cherry picked from commit 3e9969766153839abfb7de59e0c778a604bfbf55)

Conflicts:
	framework/Web/UI/ActiveControls/TCallbackClientScript.php
	framework/Web/UI/JuiControls/TJuiAutoComplete.php
	framework/Web/UI/JuiControls/TJuiControlAdapter.php
	framework/Web/UI/JuiControls/TJuiDraggable.php
	framework/Web/UI/JuiControls/TJuiDroppable.php
	framework/Web/UI/JuiControls/TJuiResizable.php
	framework/Web/UI/JuiControls/TJuiSelectable.php
	framework/Web/UI/JuiControls/TJuiSortable.php
Adding toArray() and toJSON() to TActiveRecord(cherry picked from commit 3f7dab44ea0b45dcdc5d590d94659010ef1eddda)
Removed TJavascriptLogger from demos and tests

Any browser’s development tool is way better, and it stops exceptions
from being catched by the browser’s console
(cherry picked from commit 0a136fe37491281ada5084b6eb5a72d4ca8d948a)
Fix: do json_decode before decoding UTF8 to globalisations charset
(Fixes 492)(cherry picked from commit a1669b2a7f2f681b1484a9e329c54f2d070bb69c)
Fix #498
(cherry picked from commit 98e2ef4e124bdf1e33c676e516a8337d587d9d9e)
Avoid an exception loop on callback error when headers have already been sent; send error trace in the body, since headers are limited in size
(cherry picked from commit 0700ac0eb6d1cb884ca6d568f798ed785c38e908)
Fix test for firefox
(cherry picked from commit 410af66fc8843177bb68561e556d7bd51c4d71c1)

Conflicts:
	tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
Update local tests path
(cherry picked from commit ae7a187ec50d2a4d68fc9b22acf7d46660eca402)
Cross-browser tests
(cherry picked from commit b340ed9cc57f327785ebc0c1b8fb725ffb02d647)
Ensure all tests have a proper doctype and html structure, to avoid browser's quirks mode
(cherry picked from commit a0d6864093cf13a96dafa8a47b5c43891b2b864f)

Conflicts:
	tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page
	tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page
Ported all tests from Selenium1 (RC) to Selenium2 (WebDriver) using a compatibility layer
(cherry picked from commit 82774aa0a41562a325f31c901584ec01c8238573)

Conflicts:
	tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php
	tests/FunctionalTests/active-controls/tests/CustomTemplateTestCase.php
	tests/FunctionalTests/tickets/tests/Ticket220TestCase.php
	tests/FunctionalTests/tickets/tests/Ticket719TestCase.php
	tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
	tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
Started cleaning tests' selenium2 compatibility layer
(cherry picked from commit 4ce02f6973aa40c313364b5ff7990f2244309790)

Conflicts:
	tests/FunctionalTests/tickets/tests/Ticket220TestCase.php
	tests/FunctionalTests/tickets/tests/Ticket719TestCase.php
	tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
	tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php
	tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
	tests/FunctionalTests/validators/tests/DatePickerTestCase.php
Fix: avoid unnecessary scrolling
(cherry picked from commit b2de810e574634c3b443ff5c5ccef5879e3caffd)

Conflicts:
	framework/Web/UI/TClientScriptManager.php
Fix #504
(cherry picked from commit 3d0ecbdc3141740be8d9ddda0a2c6f293dbc099c)
Added new test case directory for github issues; added test case for #504
(cherry picked from commit 4e15c84379b99434515c119b72a6c8afcbf917dd)
More selenium2 tests porting
(cherry picked from commit 68bbb645ba5be61c2e3024ac3943c7346b30f1f2)

Conflicts:
	tests/FunctionalTests/tickets/tests/Ticket587TestCase.php
	tests/FunctionalTests/tickets/tests/Ticket719TestCase.php
Fix #506
(cherry picked from commit eaaa9da0c4912f782c3a1043b710ac1b598a41a5)
Fix #502
(cherry picked from commit e2fb2ab1e2b5925f16d4dd5c3ac514a0e54ee026)

Conflicts:
	framework/Web/Javascripts/source/prado/controls/slider.js